Salome HOME
Bug #183: regression: polyline - unnecessary table in Additition mode.
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_Profile.cxx
index ee0d204bd4f2e3bd02142c6310822bc3454a8f5f..d34695d9688de31e6d2dbe484715c8e92330c0c7 100644 (file)
@@ -68,7 +68,7 @@ bool CurveCreator_Profile::clearInternal()
 {
   // erase curve from the viewer
   if( myDisplayer )
-    myDisplayer->erase( true );
+    myDisplayer->eraseAll( true );
 
   // Delete all allocated data.
   mySections[ 0 ]->myPoints.clear();
@@ -136,13 +136,13 @@ bool CurveCreator_Profile::setClosed( const int theISection,
 bool CurveCreator_Profile::setSectionTypeInternal( const int theISection, 
                                                    const CurveCreator::SectionType theType )
 {
-  return false;
+  return CurveCreator_Curve::setSectionTypeInternal( theISection, theType );
 }
 
 bool CurveCreator_Profile::setSectionType( const int theISection, 
                                            const CurveCreator::SectionType theType )
 {
-  return false;
+  return CurveCreator_Curve::setSectionType( theISection, theType );
 }
 
 bool CurveCreator_Profile::addPointsInternal( const CurveCreator::SectionsMap &theSectionsMap )