Skip to content

Fix threshold for any-point-all-components case

Threshold was producing wrong results with options SetAllInRange(false) and SetComponentToTestToAll because the logic of running worklet::Threshold::RunIncremental on individual components of the input field and combining the results is incorrect for this case.

With this fix, component modes 'Any' and 'All' are handled by applying the threshold criteria to each component of each value of the field, combining the results, and running the threshold worklet on the result array.

addresses: #804

backport: release

Merge request reports