From b3da9e90b47c443a8457f5b0e4ffd64910a17345 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 27 Jun 2014 16:31:53 +0400 Subject: [PATCH] Prevent deletion of a group servant when a group on filter is edited w/o activating filter dialog --- src/SMESH_I/SMESH_Group_i.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SMESH_I/SMESH_Group_i.cxx b/src/SMESH_I/SMESH_Group_i.cxx index ebdd1052c..d55846ade 100644 --- a/src/SMESH_I/SMESH_Group_i.cxx +++ b/src/SMESH_I/SMESH_Group_i.cxx @@ -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(); -- 2.39.2