code cleanup:
[blender.git] / source / blender / editors / sculpt_paint / paint_stroke.c
index 859d8d76f15534aad810268d3b9e205e8bd88f4f..d7e2d010f033b3c0ddf128d9ae9167e3e80f56fb 100644 (file)
@@ -179,7 +179,7 @@ static void paint_brush_update(bContext *C, Brush *brush, PaintMode mode,
                    SCULPT_TOOL_THUMB, SCULPT_TOOL_ROTATE)))
        {
                if (((brush->mtex.brush_map_mode == MTEX_MAP_MODE_VIEW) ||
-                       (brush->mtex.brush_map_mode == MTEX_MAP_MODE_RANDOM)) &&
+                   (brush->mtex.brush_map_mode == MTEX_MAP_MODE_RANDOM)) &&
                    !(brush->flag & BRUSH_RAKE))
                {
                        if (brush->flag & BRUSH_RANDOM_ROTATION)
@@ -191,7 +191,8 @@ static void paint_brush_update(bContext *C, Brush *brush, PaintMode mode,
                if ((brush->mtex.brush_map_mode == MTEX_MAP_MODE_RANDOM)) {
                        ups->tex_mouse[0] = BLI_frand() * stroke->vc.ar->sizex;
                        ups->tex_mouse[1] = BLI_frand() * stroke->vc.ar->sizey;;
-               } else {
+               }
+               else {
                        copy_v2_v2(ups->tex_mouse, mouse);
                }
        }