From 571d659090222e56907e630580dbb2b43a5f25a2 Mon Sep 17 00:00:00 2001 From: adv Date: Mon, 30 Dec 2013 05:51:23 +0000 Subject: [PATCH] Protection from crash. --- src/HYDROData/HYDROData_Pipes.cxx | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.39.2