From 8f99cf3454c6508dc6265171887cdf5cad28ccbb Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 12 Jan 2006 08:51:20 +0000 Subject: [PATCH] Fixed bug GVIEW11215 : SMESH: create group from group ? wrong object selection --- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index c573e5673..b9396313b 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -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; } -- 2.39.2