in ConvertToStandalone(), copy color as well

This commit is contained in:
eap 2011-11-03 14:04:43 +00:00
parent 7b55650ae9
commit f99b0ab887

View File

@ -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;