mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 07:40:34 +05:00
PAL6938
This commit is contained in:
parent
0a35ffc7d7
commit
c9be7f0ec9
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user