From: mzn Date: Tue, 28 Jan 2014 12:27:26 +0000 (+0000) Subject: Bug #168: filter for invalid polyline. X-Git-Tag: BR_hydro_v_1_0~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fdae089d3976679fe56317cbceb054b945f9b9ed;p=modules%2Fhydro.git Bug #168: filter for invalid polyline. --- 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 {