Salome HOME
23050: EDF 10631 SMESH: Nodes outside the plane after ConvertToQuadratic
[modules/smesh.git] / src / Controls / SMESH_Controls.cxx
index 267fc2a281706a87f8c345a78b92aadc95d81adf..714f48e97d304055a7ef490e19842c6a4b970c6d 100644 (file)
@@ -3856,6 +3856,10 @@ void BelongToMeshGroup::SetMesh( const SMDS_Mesh* theMesh )
           myGroup = *g;
     }
   }
+  if ( myGroup )
+  {
+    myGroup->IsEmpty(); // make GroupOnFilter update its predicate
+  }
 }
 
 bool BelongToMeshGroup::IsSatisfy( long theElementId )