summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/tracker.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp
index 8757e98e..cfc62c84 100644
--- a/logic/tracker.cpp
+++ b/logic/tracker.cpp
@@ -260,10 +260,7 @@ void Tracker::logic()
const euler_t rot = r2d * c_mult * rmat_to_euler(rotation);
euler_t pos = euler_t(&value[TX]) - t_center;
- if (s.use_camera_offset_from_centering)
- 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);
+ t_compensate(real_rotation.camera.t(), pos, pos, false, false, false);
for (int i = 0; i < 3; i++)
{