grease pencil eraser mouse-wheel resize was inverted compared to circle-select.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 26 Mar 2013 07:44:48 +0000 (07:44 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 26 Mar 2013 07:44:48 +0000 (07:44 +0000)
source/blender/editors/gpencil/gpencil_paint.c

index 54912c3edafa48f3e26102a1e4026fdb5c901a9d..22ec2c8cfa580e557d76cdcc52d0975abb58d98d 100644 (file)
@@ -1965,12 +1965,12 @@ static int gpencil_draw_modal(bContext *C, wmOperator *op, const wmEvent *event)
                         */
                        /* printf("\t\tGP - resize eraser\n"); */
                        switch (event->type) {
-                               case WHEELUPMOUSE: /* larger */
+                               case WHEELDOWNMOUSE: /* larger */
                                case PADPLUSKEY:
                                        p->radius += 5;
                                        break;
                                        
-                               case WHEELDOWNMOUSE: /* smaller */
+                               case WHEELUPMOUSE: /* smaller */
                                case PADMINUS:
                                        p->radius -= 5;