summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--pose-widget/glwidget.cpp2
-rw-r--r--tracker-aruco/pt_video_widget.cpp2
-rw-r--r--tracker-pt/pt_video_widget.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/pose-widget/glwidget.cpp b/pose-widget/glwidget.cpp
index d8b451ef..27e6becd 100644
--- a/pose-widget/glwidget.cpp
+++ b/pose-widget/glwidget.cpp
@@ -35,7 +35,7 @@ void GLWidget::paintEvent (QPaintEvent * event)
void GLWidget::rotateBy(float xAngle, float yAngle, float zAngle, float x, float y, float z)
{
- if (visible_timer.elapsed_ms() > 2000)
+ if (visible_timer.elapsed_ms() > 250)
{
visible = is_window_visible(this);
visible_timer.start();
diff --git a/tracker-aruco/pt_video_widget.cpp b/tracker-aruco/pt_video_widget.cpp
index d8380caa..54bc9acd 100644
--- a/tracker-aruco/pt_video_widget.cpp
+++ b/tracker-aruco/pt_video_widget.cpp
@@ -47,7 +47,7 @@ void PTVideoWidget::update_and_repaint()
{
QMutexLocker l(&mtx);
- if (window_check_timer.elapsed_ms() > 2000)
+ if (window_check_timer.elapsed_ms() > 250)
{
visible = is_window_visible(this);
window_check_timer.start();
diff --git a/tracker-pt/pt_video_widget.cpp b/tracker-pt/pt_video_widget.cpp
index d8380caa..54bc9acd 100644
--- a/tracker-pt/pt_video_widget.cpp
+++ b/tracker-pt/pt_video_widget.cpp
@@ -47,7 +47,7 @@ void PTVideoWidget::update_and_repaint()
{
QMutexLocker l(&mtx);
- if (window_check_timer.elapsed_ms() > 2000)
+ if (window_check_timer.elapsed_ms() > 250)
{
visible = is_window_visible(this);
window_check_timer.start();