From: vsr Date: Thu, 17 May 2012 14:40:07 +0000 (+0000) Subject: Fix for the "0021580: GEOM EDF: SetColor does not work" issue. X-Git-Tag: V6_5_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4830ecf8d1afa357871b07d46011f6ab6e2711c4;p=modules%2Fgeom.git Fix for the "0021580: GEOM EDF: SetColor does not work" issue. Addition minor fix to previous integration --- diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index a5deecd69..964cd2875 100644 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -904,6 +904,7 @@ void GEOM_Displayer::Update( SALOME_OCCPrs* prs ) anAspect->SetTypeOfMarker( myTypeOfMarker ); AISShape->Attributes()->SetPointAspect( anAspect ); } + aStudy->setObjectProperty( aMgrId, anIO->getEntry(), COLOR_PROP, SalomeApp_Tools::color( aQuanColor ) ); } else if( !hasColor ) { //In case if color wasn't defined in the property map of the object //and GEOM_Object color also wasn't defined get default color from Resource Mgr.