diff options
Diffstat (limited to 'variant/default')
-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()); |