diff options
Diffstat (limited to 'logic/pipeline.cpp')
-rw-r--r-- | logic/pipeline.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp index e7d6caf6..8796d237 100644 --- a/logic/pipeline.cpp +++ b/logic/pipeline.cpp @@ -480,8 +480,10 @@ void pipeline::logic() { ev.run_events(EV::ev_before_filter, value); - value = maybe_apply_filter(value); - nan_check(value); + Pose tmp = maybe_apply_filter(value); + nan_check(tmp); + if (!center_ordered) + value = tmp; logger.write_pose(value); // "filtered" } |