X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Profile.cxx;h=d34695d9688de31e6d2dbe484715c8e92330c0c7;hb=65c66988575cb4fc8de7d838cde08b4731a6e54b;hp=0c11fc18e92643cfa9401a7717ed1c52fe2022ea;hpb=8a464e12ecf0be7b04e99307b7adb2207b470cb5;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Profile.cxx b/src/HYDROCurveCreator/CurveCreator_Profile.cxx index 0c11fc18..d34695d9 100644 --- a/src/HYDROCurveCreator/CurveCreator_Profile.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Profile.cxx @@ -24,9 +24,6 @@ #include "CurveCreator_Section.hxx" #include "CurveCreator_Displayer.h" -#include -#include -#include #include #include #include @@ -71,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(); @@ -139,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 )