merge with trunk at r31523
[blender.git] / source / blender / windowmanager / intern / wm_operators.c
index e94f583d04c487cdf416c1276065f9809a00b588..2311024827e884095e91ca1618d6625fe94257a5 100644 (file)
@@ -2177,15 +2177,15 @@ int WM_gesture_circle_modal(bContext *C, wmOperator *op, wmEvent *event)
        int sx, sy;
 
        if(event->type== MOUSEMOVE) {
-               wm_subwindow_getorigin(CTX_wm_window(C), gesture->swinid, &sx, &sy);
+                       wm_subwindow_getorigin(CTX_wm_window(C), gesture->swinid, &sx, &sy);
 
-               rect->xmin= event->x - sx;
-               rect->ymin= event->y - sy;
+                       rect->xmin= event->x - sx;
+                       rect->ymin= event->y - sy;
 
-               wm_gesture_tag_redraw(C);
+                       wm_gesture_tag_redraw(C);
 
-               if(gesture->mode)
-                       gesture_circle_apply(C, op);
+                       if(gesture->mode)
+                               gesture_circle_apply(C, op);
        }
        else if (event->type==EVT_MODAL_MAP) {
                switch (event->val) {