mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
SALOME Forum bug: sub-mesh removal leads to an Exception in a re-opened study.
in SetCriteria(): + aResPredicate->UnRegister();
This commit is contained in:
parent
997c16d89d
commit
26d878fd9f
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user