From: eap Date: Fri, 20 May 2005 07:13:34 +0000 (+0000) Subject: do nothing in destructor X-Git-Tag: V2_2_0_VISU_improvement_2005-05-27~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6b6bb41a2c514a5ad425ac638a498516d8ee8c1e;p=modules%2Fvisu.git do nothing in destructor --- diff --git a/src/VISUGUI/VisuGUI_Plot3DDlg.cxx b/src/VISUGUI/VisuGUI_Plot3DDlg.cxx index 3058bc45..b8f4e69a 100644 --- a/src/VISUGUI/VisuGUI_Plot3DDlg.cxx +++ b/src/VISUGUI/VisuGUI_Plot3DDlg.cxx @@ -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(); - } } //=======================================================================