From: vsr Date: Mon, 17 Dec 2012 12:15:09 +0000 (+0000) Subject: Fix bug: wrong default color the the group X-Git-Tag: pluginMGCleaner~241 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5f2fdbf53f5e665c4ccbf66ebf823f6d98448b6d;p=modules%2Fsmesh.git Fix bug: wrong default color the the group --- diff --git a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx index 6562da87a..7831412db 100644 --- a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx @@ -614,7 +614,7 @@ namespace SMESH int deltaF, deltaV; SMESH::GetColor( "SMESH", "fill_color", c, deltaF, "0,170,255|-100" ); SMESH::GetColor( "SMESH", "volume_color", c, deltaV, "255,0,170|-100" ); - SMESH::GetColor( "SMESH", "default_grp_color", c ); + c = SMESH::GetColor( "SMESH", "default_grp_color", c ); SALOMEDS::Color aColor = aGroup->GetColor(); if( !( aColor.R > 0 || aColor.G > 0 || aColor.B > 0 )) {