diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-03 15:13:36 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-09 12:13:33 +0100 |
commit | e39a753236808603bc1e3530a7d6091eeeeacd39 (patch) | |
tree | 8c1f7963480bb29d49cf007935210d1e4f2842c9 /variant/default/main-window.cpp | |
parent | 5d554656d7f2392a0c98a4474641f997c7b47543 (diff) |
random nonsense only
Diffstat (limited to 'variant/default/main-window.cpp')
-rw-r--r-- | variant/default/main-window.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index 53872644..84b89290 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -407,11 +407,6 @@ void main_window::start_tracker_() if (work) return; - { - double p[6] = {0,0,0, 0,0,0}; - show_pose_(p, p); - } - work = std::make_shared<Work>(pose, ev, ui.video_frame, current_tracker(), current_protocol(), current_filter()); if (!work->is_ok()) @@ -420,6 +415,11 @@ void main_window::start_tracker_() return; } + { + double p[6] = {0,0,0, 0,0,0}; + show_pose_(p, p); + } + if (pTrackerDialog) pTrackerDialog->register_tracker(work->libs.pTracker.get()); |