mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-14 01:51:34 +05:00
in ConvertToStandalone(), copy color as well
This commit is contained in:
parent
7b55650ae9
commit
f99b0ab887
@ -1754,6 +1754,9 @@ SMESH_Group* SMESH_Mesh::ConvertToStandalone ( int theGroupID )
|
||||
while ( anItr->more() )
|
||||
aNewGrpDS->Add( (anItr->next())->GetID() );
|
||||
|
||||
// set color
|
||||
aNewGrpDS->SetColor( anOldGrpDS->GetColor() );
|
||||
|
||||
// remove old group
|
||||
delete anOldGrp;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user