SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.

in SetCriteria():

+  aResPredicate->UnRegister();
This commit is contained in:
eap 2013-07-22 14:36:12 +00:00
parent 997c16d89d
commit 26d878fd9f

View File

@ -3424,6 +3424,8 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
SetPredicate( aResPredicate ); SetPredicate( aResPredicate );
aResPredicate->UnRegister();
return !aResPredicate->_is_nil(); return !aResPredicate->_is_nil();
} }