From 5f2fdbf53f5e665c4ccbf66ebf823f6d98448b6d Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 17 Dec 2012 12:15:09 +0000 Subject: [PATCH] Fix bug: wrong default color the the group --- src/SMESHGUI/SMESHGUI_VTKUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )) { -- 2.39.2