From: eap Date: Thu, 3 Nov 2011 14:04:43 +0000 (+0000) Subject: in ConvertToStandalone(), copy color as well X-Git-Tag: V6_4_0b1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f99b0ab887152d79a0c36a6d3dbdfd98fe76b3ff;p=modules%2Fsmesh.git in ConvertToStandalone(), copy color as well --- diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 09064df27..c750600c4 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -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;