diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-12 19:29:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-14 18:14:46 +0200 |
commit | 04f78571de7e1138a9a3423bbb2d8d4ade1cd712 (patch) | |
tree | f696c9c86558ea3539a001441b2e53ebfe642b62 | |
parent | 611e74d2db22bf87291442e556808cbaa441c7be (diff) |
gui: save before instantiating the tracker
Do IO before trackers need to run at 250 Hz.
-rw-r--r-- | gui/ui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -310,6 +310,8 @@ void MainWindow::startTracker() return; } + save(); + work = std::make_shared<Work>(s, pose, libs, winId()); reload_options(); @@ -330,8 +332,6 @@ void MainWindow::startTracker() const bool is_inertial = ui.video_frame->layout() == nullptr; updateButtonState(true, is_inertial); - save(); - ui.btnStopTracker->setFocus(); } |