Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
997c16d
)
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
author
eap
<eap@opencascade.com>
Mon, 22 Jul 2013 14:36:12 +0000
(14:36 +0000)
committer
eap
<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
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Filter_i.cxx
b/src/SMESH_I/SMESH_Filter_i.cxx
index b7b0e53e1e75b0691300d99ae3a4b5b5a437b204..b973c9c682f1bf23fb89da43d112b9345ae2ab14 100644
(file)
--- a/
src/SMESH_I/SMESH_Filter_i.cxx
+++ b/
src/SMESH_I/SMESH_Filter_i.cxx
@@
-3424,6
+3424,8
@@
CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
SetPredicate( aResPredicate );
+ aResPredicate->UnRegister();
+
return !aResPredicate->_is_nil();
}