leapmotion / autowiring

A C++ Inversion of Control Framework
http://autowiring.io/
Apache License 2.0
148 stars 17 forks source link

Invert AutoFilter altitudes #976

Closed codemercenary closed 8 years ago

codemercenary commented 8 years ago

The original concept of an AutoFilter altitude causes the filter with the highest altitude value to be invoked first. Unfortunately, this means that an enumeration defining the altitudes for use in a filter network must be declared in the reverse order of invocation, which is confusing.

Flip the altitude test around, and make lower filters run before higher filters.