COLLADA: merge from trunk -r 24390:24522.
[blender.git] / source / blender / windowmanager / intern / wm_operators.c
index 674f72336907e9d72709257db9a77970904bcb77..1f8e2e280241c328faa6918851785553840c1b38 100644 (file)
@@ -1811,8 +1811,11 @@ static void tweak_gesture_modal(bContext *C, wmEvent *event)
                        }
                        break;
                default:
-                       WM_gesture_end(C, gesture);
-                       window->tweak= NULL;
+                       if(!ISTIMER(event->type)) {
+                               WM_gesture_end(C, gesture);
+                               window->tweak= NULL;
+                       }
+                       break;
        }
 }