Salome HOME
Prevent deletion of a group servant when a group on filter is edited w/o activating...
[modules/smesh.git] / src / SMESH_I / SMESH_Group_i.cxx
index ebdd105..d55846a 100644 (file)
@@ -774,6 +774,9 @@ SMESH_PredicatePtr SMESH_GroupOnFilter_i::GetPredicate( SMESH::Filter_ptr filter
 
 void SMESH_GroupOnFilter_i::SetFilter(SMESH::Filter_ptr theFilter)
 {
+  if ( myFilter->_is_equivalent( theFilter ))
+    return;
+
   if ( myPreMeshInfo )
     myPreMeshInfo->FullLoadFromFile();