From 4c11e0be17ff1a96630ec2d787cc7f6bed56abc7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 1 Mar 2023 19:13:27 +0100 Subject: opentrack: only run pose display at 30 Hz Running it at 60 Hz was using too much CPU time. --- opentrack/main-window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3