From: akl Date: Tue, 19 Nov 2013 13:01:30 +0000 (+0000) Subject: Get a shape instead of wire, because of not connected sections could not be splitted X-Git-Tag: BR_hydro_v_0_3_1~63 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2bf0132396b27e6bb9e1af570b1aa3b2b04d0509;p=modules%2Fhydro.git Get a shape instead of wire, because of not connected sections could not be splitted into wire. --- diff --git a/src/HYDROData/HYDROData_Polyline.cxx b/src/HYDROData/HYDROData_Polyline.cxx index 8770a561..8e6b3d76 100755 --- a/src/HYDROData/HYDROData_Polyline.cxx +++ b/src/HYDROData/HYDROData_Polyline.cxx @@ -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 ); }