]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
#19993 [CEA 17873] Delete group with contents crash V9_6_0a1
authoreap <eap@opencascade.com>
Mon, 28 Sep 2020 11:18:24 +0000 (14:18 +0300)
committereap <eap@opencascade.com>
Mon, 28 Sep 2020 11:18:24 +0000 (14:18 +0300)
src/SMESH_I/SMESH_Mesh_i.cxx

index 97687ae79842fa0fb4ea98b578c01cf73b674be1..fd26d1cf02351757deecbb6165f93bb6cf198849 100644 (file)
@@ -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 << " )";