Salome HOME
Feature #86: The hierarchy in the Object Browser (T 19).
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PolylineOp.cxx
index a73efdb351b380e2f6f338e88d7186d0077aa057..5932efc5882f118181575d28d7c7c075aef4d08f 100755 (executable)
@@ -114,7 +114,7 @@ void HYDROGUI_PolylineOp::startOperation()
       for( int j = 0 ; j < aPolylineData[i].myCoords.size() ; j++ ){
         aCoords.push_back(aPolylineData[i].myCoords[j]);
       }
-      myCurve->addSection( aName, aType, isClosed, aCoords );
+      myCurve->addSectionInternal( aName, aType, isClosed, aCoords );
     }
     aPanel->setPolylineName( myEditedObject->GetName() );