mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-26 21:00:34 +05:00
Fix for the "0021580: GEOM EDF: SetColor does not work" issue.
Addition minor fix to previous integration
This commit is contained in:
parent
d0aa43b5c2
commit
4830ecf8d1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user