summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-30 22:25:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-30 22:25:22 +0200
commit55e01c29728eb348183ecdfed764db293db849b1 (patch)
tree39f09c9b70846108045edd618a9655aa09ffb232 /facetracknoir/tracker.cpp
parent38dd4aa03776f99587e04c9a56ba76d4f5d28bd6 (diff)
Implement center notification
Diffstat (limited to 'facetracknoir/tracker.cpp')
-rw-r--r--facetracknoir/tracker.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index 3f826f3f..03c521c6 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -159,6 +159,12 @@ void Tracker::run() {
// for kalman
if (Libraries->pFilter)
Libraries->pFilter->Initialize();
+
+ if (Libraries->pTracker)
+ Libraries->pTracker->NotifyCenter();
+
+ if (Libraries->pSecondTracker)
+ Libraries->pSecondTracker->NotifyCenter();
}
if (getTrackingActive()) {