]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
NPAL19293: EDF673: Some groups disappear when export and reimport to/from MED. Fix...
authorjfa <jfa@opencascade.com>
Tue, 1 Apr 2008 08:54:09 +0000 (08:54 +0000)
committerjfa <jfa@opencascade.com>
Tue, 1 Apr 2008 08:54:09 +0000 (08:54 +0000)
src/SMESH_I/SMESH_Mesh_i.cxx

index 3de13f6f6a9433635af3d7b8f429a2d3a356f62f..87e95bbc7d31d82a8860907f6a286bc7446bb4a8 100644 (file)
@@ -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 );
     }
   }