]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Get a shape instead of wire, because of not connected sections could not be splitted
authorakl <akl@opencascade.com>
Tue, 19 Nov 2013 13:01:30 +0000 (13:01 +0000)
committerakl <akl@opencascade.com>
Tue, 19 Nov 2013 13:01:30 +0000 (13:01 +0000)
 into wire.

src/HYDROData/HYDROData_Polyline.cxx

index 8770a561efcdd654c0a3eb7d31794093d4d7e04b..8e6b3d766f00ac112d036f6670709b591bf367bc 100755 (executable)
@@ -448,6 +448,6 @@ void HYDROData_Polyline::UpdateWire( const PolylineData& theSections )
     }
   }
 
-  TopoDS_Wire aWire = aMakeWire.Wire();
-  SetTopShape( aWire );
+  TopoDS_Shape aShape = aMakeWire.Shape();
+  SetTopShape( aShape );
 }