]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix for the "0021580: GEOM EDF: SetColor does not work" issue.
authorvsr <vsr@opencascade.com>
Thu, 17 May 2012 14:40:07 +0000 (14:40 +0000)
committervsr <vsr@opencascade.com>
Thu, 17 May 2012 14:40:07 +0000 (14:40 +0000)
Addition minor fix to previous integration

src/GEOMGUI/GEOM_Displayer.cxx

index a5deecd692dd2d90fdd2c5b0df0d79a36c0fe069..964cd28757c04f068cb497981a4a26bb61783f10 100644 (file)
@@ -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.