]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix for bug PAL13475(Wrong selection of objects after Display/Erase from Python conso...
authormzn <mzn@opencascade.com>
Thu, 21 Sep 2006 13:16:53 +0000 (13:16 +0000)
committermzn <mzn@opencascade.com>
Thu, 21 Sep 2006 13:16:53 +0000 (13:16 +0000)
src/GEOMGUI/GeometryGUI_Swig.cxx

index bd43124355f59061b76c9b496a501b4403b030cd..3b7601fa13136207535d26836fd46013b6b2b292 100644 (file)
@@ -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;