21680: EDF 2288 SMESH: creation of 0D elements from other elements

In RemoveGroupWithContents(), make python dump before group removal
This commit is contained in:
eap 2012-10-23 12:42:23 +00:00
parent 436a1990ff
commit 12cbac91e8

View File

@ -1064,11 +1064,11 @@ void SMESH_Mesh_i::RemoveGroupWithContents( SMESH::SMESH_GroupBase_ptr theGroup
else
aMeshEditor->RemoveElements( anIds );
// Update Python script (theGroup must be alive for this)
pyDump << _this() << ".RemoveGroupWithContents( " << theGroup << " )";
// Remove group
RemoveGroup( theGroup );
// Update Python script
pyDump << _this() << ".RemoveGroupWithContents( " << theGroup << " )";
}
//================================================================================