]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Protection from crash.
authoradv <adv@opencascade.com>
Mon, 30 Dec 2013 05:51:23 +0000 (05:51 +0000)
committeradv <adv@opencascade.com>
Mon, 30 Dec 2013 05:51:23 +0000 (05:51 +0000)
src/HYDROData/HYDROData_Pipes.cxx

index 47164175fb2b2475d01ca053b16800e44688f15b..141dd5bd0f0652e3faa1e95c0c58a3ddac181fcd 100644 (file)
@@ -971,6 +971,8 @@ HYDROData_Canal3dAnd2d::HYDROData_Canal3dAnd2d(const TopoDS_Wire& Profile,
   MakeSharpVertexList();
   if (!mySharpVertexList.IsEmpty())
     MakeFillet();
+  else
+    myGuideline = myOriginalGuideline;
 
   ProjectWireOntoXOY(myGuideline, myProjectedGuideline);
   Make2dProfile();