summaryrefslogtreecommitdiffhomepage
path: root/pose-widget
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-31 13:50:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-31 13:50:16 +0200
commit61e9693666c65f613a4d144b271da855e47a1b79 (patch)
tree3745d817633d17660b4b97cf72f2e253385b2cb1 /pose-widget
parentfa528a7ebafc9b5751deda05c02aec43a9a45ead (diff)
pose-widget, tracker/{aruco,pt}: check more often for widget visibility
It looks weird otherwise.
Diffstat (limited to 'pose-widget')
-rw-r--r--pose-widget/glwidget.cpp2
1 files changed, 1 insertions, 1 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();