From f5df7884cf82b87fce50d3ff68c6a4bfa85064e9 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Sun, 16 Sep 2012 11:08:19 +0000 Subject: Change showHeadPose function, regarding refreshVideo. git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@142 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FaceTrackNoIR/FaceTrackNoIR.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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(); } -- cgit v1.2.3