From: eap Date: Fri, 27 Jun 2014 12:31:53 +0000 (+0400) Subject: Prevent deletion of a group servant when a group on filter is edited w/o activating... X-Git-Tag: V7_5_0a1~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3da9e90b47c443a8457f5b0e4ffd64910a17345;p=modules%2Fsmesh.git Prevent deletion of a group servant when a group on filter is edited w/o activating filter dialog --- 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();