summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FaceTrackNoIR.cpp
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-09-16 11:08:19 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-09-16 11:08:19 +0000
commitf5df7884cf82b87fce50d3ff68c6a4bfa85064e9 (patch)
tree42ca018b0f5546541fb1c8ef74385db47e4c045f /FaceTrackNoIR/FaceTrackNoIR.cpp
parentf6b15f2481b99d6a48225bb920ccef0519f5025d (diff)
Change showHeadPose function, regarding refreshVideo.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@142 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FaceTrackNoIR.cpp')
-rw-r--r--FaceTrackNoIR/FaceTrackNoIR.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.cpp b/FaceTrackNoIR/FaceTrackNoIR.cpp
index 8c97aee3..9c89c13a 100644
--- a/FaceTrackNoIR/FaceTrackNoIR.cpp
+++ b/FaceTrackNoIR/FaceTrackNoIR.cpp
@@ -878,6 +878,12 @@ THeadPoseData newdata;
// Update the video-widget.
// Requested by Stanislaw
//
+ if (tracker) {
+ ITracker * theTracker = tracker->getTrackerPtr();
+ if (theTracker) {
+ theTracker->refreshVideo();
+ }
+ }
// Tracker::doRefreshVideo();
}