diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-12-10 03:25:39 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-12-10 03:25:39 +0100 |
commit | 1744c1cc6058e4508c912eac1e40a277fe4c4bfe (patch) | |
tree | 93795c4e32db77a4003fa5e0cfcc0b7f64ae19eb | |
parent | 2e5cd1daaf510bc74627a6776519c1e9ce50ab68 (diff) |
don't jump around when repeatedly centering
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r-- | facetracknoir/tracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp index b65ccde8..9bf5fb2c 100644 --- a/facetracknoir/tracker.cpp +++ b/facetracknoir/tracker.cpp @@ -131,7 +131,7 @@ void Tracker::run() { if (do_center) {
for (int i = 0; i < 6; i++)
- offset_camera.axes[i] = target_camera.axes[i];
+ offset_camera.axes[i] = mainApp->axis(i).headPos;
do_center = false;
|