]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Bug #168: filter for invalid polyline.
authormzn <mzn@opencascade.com>
Tue, 28 Jan 2014 12:27:26 +0000 (12:27 +0000)
committermzn <mzn@opencascade.com>
Tue, 28 Jan 2014 12:27:26 +0000 (12:27 +0000)
src/HYDROData/HYDROData_ImmersibleZone.cxx

index d8673dae951890a42b42811a72bf8d58a60d6d3f..8c40d46789339fcb5e8776b54a72a4b84905d8d1 100644 (file)
@@ -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 {