diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2013-01-05 11:46:43 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2013-01-05 11:46:43 +0000 |
commit | 292740d183ee6970e7241c822e707ffad7e670f5 (patch) | |
tree | 8ec25ea7726fc1fb8e469300881e441d6d08e67b /faceAPI | |
parent | a259ffd36f3a6e72787bc423ca016de0d05a8a02 (diff) |
Fixed engine-status display when EXIT is done.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@205 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'faceAPI')
-rw-r--r-- | faceAPI/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/faceAPI/main.cpp b/faceAPI/main.cpp index 9545c091..46732cb3 100644 --- a/faceAPI/main.cpp +++ b/faceAPI/main.cpp @@ -3,7 +3,7 @@ * gamers from Holland, who don't like to pay much for *
* head-tracking. *
* *
-* Copyright (C) 2011 Wim Vriend (Developing) *
+* Copyright (C) 2013 Wim Vriend (Developing) *
* Ron Hendriks (Researching and Testing) *
* *
* Homepage *
@@ -23,6 +23,7 @@ *********************************************************************************/
/*
Modifications (last one on top):
+ 20130105 - WVR: Set engine state to TERMINATED, when EXIT.
20110501 - WVR: Added some command to be handled from FaceTrackNoIR (settings dialog).
20110322 - WVR: Somehow the video-widget of faceAPI version 3.2.6. does not
work with FaceTrackNoIR (Qt issue?!). To be able to use
@@ -421,6 +422,7 @@ void run() THROW_ON_ERROR(smEngineStop(engine_handle)); // Stop tracking
stopCommand = TRUE;
pMemData->command = 0; // Reset
+ pMemData->state = SM_API_ENGINE_STATE_TERMINATED; // One last update, before quitting...
break;
case FT_SM_SET_PAR_FILTER:
|