summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp
index 325381ee..c6b9475b 100644
--- a/logic/tracker.cpp
+++ b/logic/tracker.cpp
@@ -255,7 +255,7 @@ void Tracker::logic()
euler_t pos = euler_t(&value[TX]) - t_center;
if (s.use_camera_offset_from_centering)
- t_compensate(real_rotation.rot_center.t() * real_rotation.camera.t(), pos, pos, false, false, false);
+ t_compensate((real_rotation.camera * real_rotation.rot_center).t(), pos, pos, false, false, false);
else
t_compensate(real_rotation.camera.t(), pos, pos, false, false, false);