From f99b0ab887152d79a0c36a6d3dbdfd98fe76b3ff Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 3 Nov 2011 14:04:43 +0000 Subject: [PATCH] in ConvertToStandalone(), copy color as well --- src/SMESH/SMESH_Mesh.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2