NPAL19293: EDF673: Some groups disappear when export and reimport to/from MED. Fix problem with groups removal.

This commit is contained in:
jfa 2008-04-01 08:54:09 +00:00
parent fdca18229c
commit 2ea7fb42a0

View File

@ -724,7 +724,7 @@ void SMESH_Mesh_i::RemoveGroup( SMESH::SMESH_GroupBase_ptr theGroup )
TPythonDump() << _this() << ".RemoveGroup( " << aGroupSO << " )"; TPythonDump() << _this() << ".RemoveGroup( " << aGroupSO << " )";
// Remove group's SObject // Remove group's SObject
aStudy->NewBuilder()->RemoveObject( aGroupSO ); aStudy->NewBuilder()->RemoveObjectWithChildren( aGroupSO );
} }
} }