summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-22 02:45:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-22 02:45:39 +0200
commit576f6d7448c7666d140d613253a8a57d0d8edf4b (patch)
tree058fde4e6aa3d537336001058e0e934f48ffa6e0 /ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
parent6fa9e7bb7810f89b0bcc376c940b0c74ac91fdf3 (diff)
ht: remove dead code
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index d14fa5e0..010741c6 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -136,7 +136,7 @@ static void load_settings(ht_config_t* config, Tracker* tracker)
iniFile.endGroup();
}
-Tracker::Tracker() : lck_shm(HT_SHM_NAME, HT_MUTEX_NAME, sizeof(ht_shm_t)), fresh(false)
+Tracker::Tracker() : lck_shm(HT_SHM_NAME, HT_MUTEX_NAME, sizeof(ht_shm_t))
{
videoWidget = NULL;
layout = NULL;
@@ -196,7 +196,6 @@ bool Tracker::GiveHeadPoseData(double *data)
{
videoWidget->update_image(shm->frame.frame, shm->frame.width, shm->frame.height);
//memcpy(foo, shm->frame.frame, shm->frame.width * shm->frame.height * 3);
- fresh = true;
shm->frame.width = 0;
}
if (shm->result.filled) {