diff options
Diffstat (limited to 'FaceTrackNoIR/tracker.cpp')
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index 6e360ade..633af24e 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -618,8 +618,12 @@ void Tracker::run() { ReleaseMutex(Tracker::hTrackMutex);
server_Game->sendHeadposeToGame();
+# ifdef USE_DEBUG_CLIENT
+ debug_Client->sendHeadposeToGame();
+# endif
+
//for lower cpu load
- msleep(10);
+ usleep(10000);
yieldCurrentThread();
}
}
|