From fdae089d3976679fe56317cbceb054b945f9b9ed Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 28 Jan 2014 12:27:26 +0000 Subject: [PATCH] Bug #168: filter for invalid polyline. --- src/HYDROData/HYDROData_ImmersibleZone.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HYDROData/HYDROData_ImmersibleZone.cxx b/src/HYDROData/HYDROData_ImmersibleZone.cxx index d8673dae..8c40d467 100644 --- a/src/HYDROData/HYDROData_ImmersibleZone.cxx +++ b/src/HYDROData/HYDROData_ImmersibleZone.cxx @@ -107,7 +107,7 @@ TopoDS_Shape HYDROData_ImmersibleZone::generateTopShape( const Handle(HYDROData_ BRepBuilderAPI_MakeFace aMakeFace( aPolylineWire, Standard_True ); aMakeFace.Build(); if( aMakeFace.IsDone() ) { - return aMakeFace.Face(); + aResultFace = aMakeFace.Face(); } } } else { -- 2.39.2