summaryrefslogtreecommitdiffhomepage
path: root/opentrack/tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/tracker.cpp')
-rw-r--r--opentrack/tracker.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/opentrack/tracker.cpp b/opentrack/tracker.cpp
index 8fd054b4..8a9a0511 100644
--- a/opentrack/tracker.cpp
+++ b/opentrack/tracker.cpp
@@ -124,7 +124,7 @@ void Tracker::logic()
double tmp[3] = { t(0) - t_b[0], t(1) - t_b[1], t(2) - t_b[2] };
t_compensate(cam, tmp, tmp, false);
rmat m_;
- switch (s.center_method)
+ switch (1)
{
case 0:
default:
@@ -159,9 +159,6 @@ void Tracker::logic()
s.tcomp_tz);
for (int i = 0; i < 6; i++)
- value(i) += m(i).opts.zero;
-
- for (int i = 0; i < 6; i++)
value[i] *= inverts[i] ? -1. : 1.;
if (zero_)