X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROData%2FHYDROData_Polyline.cxx;h=8e6b3d766f00ac112d036f6670709b591bf367bc;hb=ad8562bab9992101430a6327aa7ca06c71f6d084;hp=fc6d72ceb7f3f1951185c7ba519b2f168d309f41;hpb=0d9decc8762a829f1bdc69048fab08122e441ec0;p=modules%2Fhydro.git diff --git a/src/HYDROData/HYDROData_Polyline.cxx b/src/HYDROData/HYDROData_Polyline.cxx index fc6d72ce..8e6b3d76 100755 --- a/src/HYDROData/HYDROData_Polyline.cxx +++ b/src/HYDROData/HYDROData_Polyline.cxx @@ -62,7 +62,7 @@ QStringList HYDROData_Polyline::DumpToPython( MapOfTreatedObjects& theTreatedObj { QStringList aResList; - Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this ); + Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( myLab ); if ( aDocument.IsNull() ) return aResList; @@ -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 ); }