diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-05 21:50:42 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-01-05 21:50:42 +0100 |
commit | 33bc85bbcdcc08da6c722614ad2f1493771351dc (patch) | |
tree | 0961d313c6c6b7cd8ead82863edb2c2a7d5812c6 /ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp | |
parent | d72be0dbb5b0278e40476dd4fa967eaa22f48ca3 (diff) |
pt: change pose() prototype
Return a pose, don't copy it to passed param
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp index 635e21c5..8c896203 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp @@ -136,8 +136,7 @@ void TrackerDialog::trans_calib_step() { if (tracker) { - Affine X_CM; - tracker->pose(&X_CM); + Affine X_CM = tracker->pose(); trans_calib.update(X_CM.R, X_CM.t); } } |