Salome HOME
Fix for the bug #45: check and warning when the same image is used in 2 arguments.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Shape.cxx
index 4ddd3b2dde6b17d497a192e5c6419cb0a788c40a..4ba2ed2dd7422ba0768d12003154d2bfb9796140 100644 (file)
@@ -83,7 +83,7 @@ HYDROGUI_Shape::HYDROGUI_Shape( const Handle(AIS_InteractiveContext)& theContext
 
 HYDROGUI_Shape::~HYDROGUI_Shape()
 {
-  erase();
+  erase( false );
 
   if ( !myShape.IsNull() )
     myShape.Nullify();