bug 11812. Fix Init()

This commit is contained in:
eap 2006-03-07 10:50:04 +00:00
parent f95ca7fd11
commit 3499bb3080

View File

@ -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;