mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
Fixed bug GVIEW11215 : SMESH: create group from group ? wrong object selection
This commit is contained in:
parent
a5aa83a837
commit
8f99cf3454
@ -562,14 +562,14 @@ void SMESHGUI_GroupDlg::setSelectionMode (int theMode)
|
|||||||
aViewWindow->SetSelectionMode(VolumeSelection);
|
aViewWindow->SetSelectionMode(VolumeSelection);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
|
||||||
aViewWindow->SetSelectionMode(ActorSelection);
|
|
||||||
if (theMode == 4)
|
if (theMode == 4)
|
||||||
mySelectionMgr->installFilter(mySubMeshFilter);
|
mySelectionMgr->installFilter(mySubMeshFilter);
|
||||||
else if (theMode == 5)
|
else if (theMode == 5)
|
||||||
mySelectionMgr->installFilter(myGroupFilter);
|
mySelectionMgr->installFilter(myGroupFilter);
|
||||||
else if (theMode == 6)
|
else if (theMode == 6)
|
||||||
mySelectionMgr->installFilter(myMeshFilter);
|
mySelectionMgr->installFilter(myMeshFilter);
|
||||||
|
if ( SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI ))
|
||||||
|
aViewWindow->SetSelectionMode(ActorSelection);
|
||||||
}
|
}
|
||||||
mySelectionMode = theMode;
|
mySelectionMode = theMode;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user