summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-30 21:10:19 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-10-30 21:10:19 +0100
commit949d013c0a0fa51f8a2b55719c1ab2b4fcbbbcd8 (patch)
tree589a271a76423cde13c1a8597211ed55da41c075 /facetracknoir
parent4aed930154638707e5e6cd37abfda2f8c369d444 (diff)
fix recentering
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/tracker.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index c1b7b3af..adfff34c 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -49,7 +49,7 @@ static void get_curve(double pos, double& out, THeadPoseDOF& axis) {
/** QThread run method @override **/
void Tracker::run() {
- T6DOF offset_camera, gameoutput_camera;
+ T6DOF offset_camera, gameoutput_camera, target_camera;
bool bTracker1Confid = false;
bool bTracker2Confid = false;
@@ -75,7 +75,6 @@ void Tracker::run() {
}
{
- T6DOF target_camera;
QMutexLocker foo(&mtx);
const bool confid = bTracker1Confid || bTracker2Confid;