mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-02 04:24:28 +05:00
PAL10209 - after operation display/erase GEOM objects must be selected in viewer
This commit is contained in:
parent
6fa64130e5
commit
3e43b82348
@ -99,6 +99,9 @@ DisplayGUI::~DisplayGUI()
|
|||||||
bool DisplayGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
|
bool DisplayGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
|
||||||
{
|
{
|
||||||
DisplayGUI* myDisplayGUI = GetDisplayGUI( getGeometryGUI() );
|
DisplayGUI* myDisplayGUI = GetDisplayGUI( getGeometryGUI() );
|
||||||
|
LightApp_SelectionMgr *Sel = getGeometryGUI()->getApp()->selectionMgr();
|
||||||
|
SALOME_ListIO selected;
|
||||||
|
Sel->selectedObjects( selected );
|
||||||
|
|
||||||
switch (theCommandID) {
|
switch (theCommandID) {
|
||||||
case 211: // MENU VIEW - WIREFRAME/SHADING
|
case 211: // MENU VIEW - WIREFRAME/SHADING
|
||||||
@ -155,6 +158,7 @@ bool DisplayGUI::OnGUIEvent(int theCommandID, SUIT_Desktop* parent)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Sel->setSelectedObjects( selected );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user