salomesmesh: fix an error because of bad priorities in logial operators

This commit is contained in:
Alexander Golubev 2015-05-17 18:25:45 +03:00 committed by wmayer
parent 75ce52f6b8
commit a48d05e2bf

View File

@ -2399,9 +2399,10 @@ bool LogicalOR::IsSatisfy( long theId )
{ {
return return
(myPredicate1!=NULL) && (myPredicate1!=NULL) &&
(myPredicate2!=NULL) && (myPredicate2!=NULL) && (
myPredicate1->IsSatisfy( theId ) || myPredicate1->IsSatisfy( theId ) ||
myPredicate2->IsSatisfy( theId ); myPredicate2->IsSatisfy( theId )
);
} }