From 2ea7fb42a0225fd82c6059b942df31e17fbe4cae Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 1 Apr 2008 08:54:09 +0000 Subject: [PATCH] NPAL19293: EDF673: Some groups disappear when export and reimport to/from MED. Fix problem with groups removal. --- src/SMESH_I/SMESH_Mesh_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } } -- 2.39.2