From 2bf0132396b27e6bb9e1af570b1aa3b2b04d0509 Mon Sep 17 00:00:00 2001 From: akl Date: Tue, 19 Nov 2013 13:01:30 +0000 Subject: [PATCH] Get a shape instead of wire, because of not connected sections could not be splitted into wire. --- src/HYDROData/HYDROData_Polyline.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.39.2