summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--facetracknoir/tracker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index 79950d98..c7867d2d 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -94,7 +94,10 @@ void Tracker::logic()
auto& axis = m(i);
int k = axis.opts.src;
if (k < 0 || k >= 6)
+ {
+ final_raw(i) = 0;
continue;
+ }
// not really raw, after axis remap -sh
final_raw(i) = newpose[k];
}