mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
bug 11812. Fix Init()
This commit is contained in:
parent
f95ca7fd11
commit
3499bb3080
@ -309,6 +309,7 @@ SMESH_HypoFilter & SMESH_HypoFilter::Init ( SMESH_HypoPredicate* aPredicate, bo
|
|||||||
list<SMESH_HypoPredicate*>::const_iterator pred = myPredicates.begin();
|
list<SMESH_HypoPredicate*>::const_iterator pred = myPredicates.begin();
|
||||||
for ( ; pred != myPredicates.end(); ++pred )
|
for ( ; pred != myPredicates.end(); ++pred )
|
||||||
delete *pred;
|
delete *pred;
|
||||||
|
myPredicates.clear();
|
||||||
|
|
||||||
add( notNagate ? AND : AND_NOT, aPredicate );
|
add( notNagate ? AND : AND_NOT, aPredicate );
|
||||||
return *this;
|
return *this;
|
||||||
|
Loading…
Reference in New Issue
Block a user