mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 01:22:05 +05:00
Fix for bug PAL13475(Wrong selection of objects after Display/Erase from Python console/module).
This commit is contained in:
parent
8480689ba0
commit
05b0981f07
@ -439,7 +439,7 @@ void GEOM_Swig::setColor(const char* theEntry, int red, int green, int blue, boo
|
|||||||
ite.Value()->SetColor(CSFColor);
|
ite.Value()->SetColor(CSFColor);
|
||||||
if (ite.Value()->IsKind(STANDARD_TYPE(GEOM_AISShape)))
|
if (ite.Value()->IsKind(STANDARD_TYPE(GEOM_AISShape)))
|
||||||
Handle(GEOM_AISShape)::DownCast(ite.Value())->SetShadingColor(CSFColor);
|
Handle(GEOM_AISShape)::DownCast(ite.Value())->SetShadingColor(CSFColor);
|
||||||
ite.Value()->Redisplay(Standard_True);
|
ic->Redisplay(ite.Value(), true, true);
|
||||||
if (myUpdateViewer)
|
if (myUpdateViewer)
|
||||||
occViewer->update();
|
occViewer->update();
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user