mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
#19993 [CEA 17873] Delete group with contents crash
This commit is contained in:
parent
ea6d39162c
commit
222d596e3b
@ -1212,6 +1212,9 @@ void SMESH_Mesh_i::RemoveGroupWithContents( SMESH::SMESH_GroupBase_ptr theGroup
|
||||
if ( n->NbInverseElements() == 0 )
|
||||
_impl->GetMeshDS()->RemoveFreeNode( n, /*sm=*/0 );
|
||||
|
||||
_impl->GetMeshDS()->Modified();
|
||||
_impl->SetIsModified( true );
|
||||
|
||||
// Update Python script (theGroup must be alive for this)
|
||||
pyDump << SMESH::SMESH_Mesh_var(_this())
|
||||
<< ".RemoveGroupWithContents( " << theGroup << " )";
|
||||
|
Loading…
Reference in New Issue
Block a user