X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Profile.cxx;h=d34695d9688de31e6d2dbe484715c8e92330c0c7;hb=65c66988575cb4fc8de7d838cde08b4731a6e54b;hp=0a13021c493a908647f6316ab731bfea25b3180a;hpb=f8d32cb2595584ebe43d5a664a457500e17e454d;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Profile.cxx b/src/HYDROCurveCreator/CurveCreator_Profile.cxx index 0a13021c..d34695d9 100644 --- a/src/HYDROCurveCreator/CurveCreator_Profile.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Profile.cxx @@ -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();