From 4830ecf8d1afa357871b07d46011f6ab6e2711c4 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 17 May 2012 14:40:07 +0000 Subject: [PATCH] Fix for the "0021580: GEOM EDF: SetColor does not work" issue. Addition minor fix to previous integration --- src/GEOMGUI/GEOM_Displayer.cxx | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.2