]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
authoreap <eap@opencascade.com>
Mon, 22 Jul 2013 14:36:12 +0000 (14:36 +0000)
committereap <eap@opencascade.com>
Mon, 22 Jul 2013 14:36:12 +0000 (14:36 +0000)
in SetCriteria():

+  aResPredicate->UnRegister();

src/SMESH_I/SMESH_Filter_i.cxx

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