From e39a753236808603bc1e3530a7d6091eeeeacd39 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Feb 2019 15:13:36 +0100 Subject: random nonsense only --- variant/default/main-window.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'variant/default') 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(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()); -- cgit v1.2.3