From 05b0981f07ba1598abd5c5676ea4b4185f54b082 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 21 Sep 2006 13:16:53 +0000 Subject: [PATCH] Fix for bug PAL13475(Wrong selection of objects after Display/Erase from Python console/module). --- src/GEOMGUI/GeometryGUI_Swig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOMGUI/GeometryGUI_Swig.cxx b/src/GEOMGUI/GeometryGUI_Swig.cxx index bd4312435..3b7601fa1 100644 --- a/src/GEOMGUI/GeometryGUI_Swig.cxx +++ b/src/GEOMGUI/GeometryGUI_Swig.cxx @@ -439,7 +439,7 @@ void GEOM_Swig::setColor(const char* theEntry, int red, int green, int blue, boo ite.Value()->SetColor(CSFColor); if (ite.Value()->IsKind(STANDARD_TYPE(GEOM_AISShape))) Handle(GEOM_AISShape)::DownCast(ite.Value())->SetShadingColor(CSFColor); - ite.Value()->Redisplay(Standard_True); + ic->Redisplay(ite.Value(), true, true); if (myUpdateViewer) occViewer->update(); break; -- 2.39.2