Fixed bug GVIEW11215 : SMESH: create group from group ? wrong object selection

This commit is contained in:
ouv 2006-01-12 08:51:20 +00:00
parent a5aa83a837
commit 8f99cf3454

View File

@ -562,14 +562,14 @@ void SMESHGUI_GroupDlg::setSelectionMode (int theMode)
aViewWindow->SetSelectionMode(VolumeSelection);
}
} else {
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
aViewWindow->SetSelectionMode(ActorSelection);
if (theMode == 4)
mySelectionMgr->installFilter(mySubMeshFilter);
else if (theMode == 5)
mySelectionMgr->installFilter(myGroupFilter);
else if (theMode == 6)
mySelectionMgr->installFilter(myMeshFilter);
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
aViewWindow->SetSelectionMode(ActorSelection);
}
mySelectionMode = theMode;
}