From: adv Date: Mon, 30 Dec 2013 05:51:23 +0000 (+0000) Subject: Protection from crash. X-Git-Tag: BR_hydro_v_0_7~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=571d659090222e56907e630580dbb2b43a5f25a2;p=modules%2Fhydro.git Protection from crash. --- diff --git a/src/HYDROData/HYDROData_Pipes.cxx b/src/HYDROData/HYDROData_Pipes.cxx index 47164175..141dd5bd 100644 --- a/src/HYDROData/HYDROData_Pipes.cxx +++ b/src/HYDROData/HYDROData_Pipes.cxx @@ -971,6 +971,8 @@ HYDROData_Canal3dAnd2d::HYDROData_Canal3dAnd2d(const TopoDS_Wire& Profile, MakeSharpVertexList(); if (!mySharpVertexList.IsEmpty()) MakeFillet(); + else + myGuideline = myOriginalGuideline; ProjectWireOntoXOY(myGuideline, myProjectedGuideline); Make2dProfile();