From a7b2d44ab4eaf3c8d69e1818db57a674178054b3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Oct 2014 07:05:29 +0200 Subject: fix ypr when translation-compensating --- facetracknoir/tracker.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'facetracknoir') diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp index 0f299153..79950d98 100644 --- a/facetracknoir/tracker.cpp +++ b/facetracknoir/tracker.cpp @@ -123,10 +123,9 @@ void Tracker::logic() Pose mapped_pose; + mapped_pose = mapped_pose_precomp; if (s.tcomp_p) t_compensate(mapped_pose_precomp, mapped_pose, s.tcomp_tz); - else - mapped_pose = mapped_pose_precomp; Libraries->pProtocol->sendHeadposeToGame(mapped_pose); -- cgit v1.2.3