diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-01 19:13:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-01 22:47:07 +0100 |
commit | 4c11e0be17ff1a96630ec2d787cc7f6bed56abc7 (patch) | |
tree | e6daa0a56eacb18e407187e5cdd9860cc4b24591 | |
parent | 2f7f6e7dc580bf313b7f70143241bbd14d633cf7 (diff) |
opentrack: only run pose display at 30 Hz
Running it at 60 Hz was using too much CPU time.
-rw-r--r-- | opentrack/main-window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp index 71ab96f5..59a01e00 100644 --- a/opentrack/main-window.cpp +++ b/opentrack/main-window.cpp @@ -471,7 +471,7 @@ void main_window::start_tracker_() options_widget->register_filter(&*work->libs.pFilter); } - pose_update_timer.start(15); + pose_update_timer.start(1000/30); // NB check valid since SelectedLibraries ctor called // trackers take care of layout state updates |