mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
Corrected for bug PAL13637.
Changes in ::OnGUIEvent() in switch for case 9010.
This commit is contained in:
parent
0809d8c97f
commit
2d1ed8ae65
@ -2172,12 +2172,14 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
||||
LightApp_SelectionMgr* mgr = selectionMgr();
|
||||
SALOME_ListIO selected; mgr->selectedObjects( selected );
|
||||
|
||||
if (selected.Extent() == 1) {
|
||||
Handle(SALOME_InteractiveObject) anIObject = selected.First();
|
||||
if(anIObject->hasEntry())
|
||||
SALOME_ListIteratorOfListIO it(selected);
|
||||
for(; it.More(); it.Next()) {
|
||||
Handle(SALOME_InteractiveObject) anIObject = it.Value();
|
||||
if(anIObject->hasEntry()) {
|
||||
if(SMESH_Actor *anActor = SMESH::FindActorByEntry(anIObject->getEntry())){
|
||||
anActor->SetPointsLabeled( !anActor->GetPointsLabeled() );
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user