From 6b6bb41a2c514a5ad425ac638a498516d8ee8c1e Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 20 May 2005 07:13:34 +0000 Subject: [PATCH] do nothing in destructor --- src/VISUGUI/VisuGUI_Plot3DDlg.cxx | 5 ----- 1 file changed, 5 deletions(-) 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(); - } } //======================================================================= -- 2.39.2