From: jfa Date: Tue, 1 Apr 2008 08:54:09 +0000 (+0000) Subject: NPAL19293: EDF673: Some groups disappear when export and reimport to/from MED. Fix... X-Git-Tag: V4_1_2rc1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2ea7fb42a0225fd82c6059b942df31e17fbe4cae;p=modules%2Fsmesh.git NPAL19293: EDF673: Some groups disappear when export and reimport to/from MED. Fix problem with groups removal. --- diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index 3de13f6f6..87e95bbc7 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -724,7 +724,7 @@ void SMESH_Mesh_i::RemoveGroup( SMESH::SMESH_GroupBase_ptr theGroup ) TPythonDump() << _this() << ".RemoveGroup( " << aGroupSO << " )"; // Remove group's SObject - aStudy->NewBuilder()->RemoveObject( aGroupSO ); + aStudy->NewBuilder()->RemoveObjectWithChildren( aGroupSO ); } }