]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Prevent deletion of a group servant when a group on filter is edited w/o activating...
authoreap <eap@opencascade.com>
Fri, 27 Jun 2014 12:31:53 +0000 (16:31 +0400)
committereap <eap@opencascade.com>
Fri, 27 Jun 2014 12:31:53 +0000 (16:31 +0400)
src/SMESH_I/SMESH_Group_i.cxx

index ebdd1052c2e599827517a3f5788f01985711aab8..d55846adebfc7455bb74af7b3ca29083cb5a9b42 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();