This commit is contained in:
san 2005-02-03 08:34:23 +00:00
parent 0a35ffc7d7
commit c9be7f0ec9

View File

@ -1322,14 +1322,9 @@ void SMESHGUI_GroupDlg::onClose()
{ {
QAD_StudyFrame* aStudyFrame = mySMESHGUI->GetActiveStudy()->getActiveStudyFrame(); QAD_StudyFrame* aStudyFrame = mySMESHGUI->GetActiveStudy()->getActiveStudyFrame();
if (aStudyFrame->getTypeView() == VIEW_VTK) { if (aStudyFrame->getTypeView() == VIEW_VTK) {
SMESH::RemoveFilters(); // PAL6938 -- clean all mesh entity filters
SMESH::SetPointRepresentation(false); SMESH::SetPointRepresentation(false);
SMESH::SetPickable(); SMESH::SetPickable();
// remove filters from viewer
if(VTKViewer_InteractorStyleSALOME* aStyle = SMESH::GetInteractorStyle()){
SMESH::RemoveFilter(SMESHGUI_EdgeFilter,aStyle);
SMESH::RemoveFilter(SMESHGUI_FaceFilter,aStyle);
}
} }
mySelection->ClearIObjects(); mySelection->ClearIObjects();