mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +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();
|
||||
for ( ; pred != myPredicates.end(); ++pred )
|
||||
delete *pred;
|
||||
myPredicates.clear();
|
||||
|
||||
add( notNagate ? AND : AND_NOT, aPredicate );
|
||||
return *this;
|
||||
|
Loading…
Reference in New Issue
Block a user