mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 10:50:34 +05:00
Fix bug: wrong default color the the group
This commit is contained in:
parent
b3aa30bca3
commit
5f2fdbf53f
@ -614,7 +614,7 @@ namespace SMESH
|
|||||||
int deltaF, deltaV;
|
int deltaF, deltaV;
|
||||||
SMESH::GetColor( "SMESH", "fill_color", c, deltaF, "0,170,255|-100" );
|
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", "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();
|
SALOMEDS::Color aColor = aGroup->GetColor();
|
||||||
if( !( aColor.R > 0 || aColor.G > 0 || aColor.B > 0 ))
|
if( !( aColor.R > 0 || aColor.G > 0 || aColor.B > 0 ))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user