mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-15 21:01:26 +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() )
|
while ( anItr->more() )
|
||||||
aNewGrpDS->Add( (anItr->next())->GetID() );
|
aNewGrpDS->Add( (anItr->next())->GetID() );
|
||||||
|
|
||||||
|
// set color
|
||||||
|
aNewGrpDS->SetColor( anOldGrpDS->GetColor() );
|
||||||
|
|
||||||
// remove old group
|
// remove old group
|
||||||
delete anOldGrp;
|
delete anOldGrp;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user