Fix for the "0021580: GEOM EDF: SetColor does not work" issue.

Addition minor fix to previous integration
This commit is contained in:
vsr 2012-05-17 14:40:07 +00:00
parent d0aa43b5c2
commit 4830ecf8d1

View 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.