From c9be7f0ec93cabbfbbe9d958a2756e2335ae2e5e Mon Sep 17 00:00:00 2001 From: san Date: Thu, 3 Feb 2005 08:34:23 +0000 Subject: [PATCH] PAL6938 --- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index a83f360b5..457cfecd3 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -1322,14 +1322,9 @@ void SMESHGUI_GroupDlg::onClose() { QAD_StudyFrame* aStudyFrame = mySMESHGUI->GetActiveStudy()->getActiveStudyFrame(); if (aStudyFrame->getTypeView() == VIEW_VTK) { + SMESH::RemoveFilters(); // PAL6938 -- clean all mesh entity filters SMESH::SetPointRepresentation(false); SMESH::SetPickable(); - - // remove filters from viewer - if(VTKViewer_InteractorStyleSALOME* aStyle = SMESH::GetInteractorStyle()){ - SMESH::RemoveFilter(SMESHGUI_EdgeFilter,aStyle); - SMESH::RemoveFilter(SMESHGUI_FaceFilter,aStyle); - } } mySelection->ClearIObjects(); -- 2.39.2