]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
do nothing in destructor
authoreap <eap@opencascade.com>
Fri, 20 May 2005 07:13:34 +0000 (07:13 +0000)
committereap <eap@opencascade.com>
Fri, 20 May 2005 07:13:34 +0000 (07:13 +0000)
src/VISUGUI/VisuGUI_Plot3DDlg.cxx

index 3058bc45d40a6f4ae629afae216eb2f4f0f473cc..b8f4e69a684e0d0d8018076471c1e5858889153c 100644 (file)
@@ -251,11 +251,6 @@ VisuGUI_Plot3DPane::VisuGUI_Plot3DPane(QWidget* parent)
 
 VisuGUI_Plot3DPane::~VisuGUI_Plot3DPane()
 {
-  if ( myPreviewActor ) {
-    if (myViewFrame && VisuGUI::GetVtkViewFrame())
-      myViewFrame->RemoveActor( myPreviewActor );
-    myPreviewActor->Delete();
-  }
 }
 
 //=======================================================================