Bug #25354
authorTon Roosendaal <ton@blender.org>
Thu, 23 Dec 2010 10:34:37 +0000 (10:34 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 23 Dec 2010 10:34:37 +0000 (10:34 +0000)
In some cases, a LMB-drag was drawing a stippled line. Leftover of
WIP code for support of gestures in Blender.
Disabled drawing for now, until gestures is back in control.

source/blender/windowmanager/intern/wm_gesture.c

index c1e28654f73aa2d4b4eb5545bd1df80379fecd76..8d873709212effdd29d48c2fc0d2b695fea2b6a3 100644 (file)
@@ -325,8 +325,8 @@ void wm_gesture_draw(wmWindow *win)
                
                if(gt->type==WM_GESTURE_RECT)
                        wm_gesture_draw_rect(gt);
-               else if(gt->type==WM_GESTURE_TWEAK)
-                       wm_gesture_draw_line(gt);
+//             else if(gt->type==WM_GESTURE_TWEAK)
+//                     wm_gesture_draw_line(gt);
                else if(gt->type==WM_GESTURE_CIRCLE)
                        wm_gesture_draw_circle(gt);
                else if(gt->type==WM_GESTURE_CROSS_RECT) {