mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 17:30:33 +05:00
21680: EDF 2288 SMESH: creation of 0D elements from other elements
In RemoveGroupWithContents(), make python dump before group removal
This commit is contained in:
parent
436a1990ff
commit
12cbac91e8
@ -1064,11 +1064,11 @@ void SMESH_Mesh_i::RemoveGroupWithContents( SMESH::SMESH_GroupBase_ptr theGroup
|
|||||||
else
|
else
|
||||||
aMeshEditor->RemoveElements( anIds );
|
aMeshEditor->RemoveElements( anIds );
|
||||||
|
|
||||||
|
// Update Python script (theGroup must be alive for this)
|
||||||
|
pyDump << _this() << ".RemoveGroupWithContents( " << theGroup << " )";
|
||||||
|
|
||||||
// Remove group
|
// Remove group
|
||||||
RemoveGroup( theGroup );
|
RemoveGroup( theGroup );
|
||||||
|
|
||||||
// Update Python script
|
|
||||||
pyDump << _this() << ".RemoveGroupWithContents( " << theGroup << " )";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user