diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-23 06:17:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-23 06:17:50 +0400 |
commit | 53fece44cf08e730bba8b8581f8bd02361f37930 (patch) | |
tree | c58fcddc070d6c9e5996b117ba281a7bfab2023b /source/blender/blenkernel/intern/brush.c | |
parent | c428bb438934e3172f33ba6897bc2d55c326acd8 (diff) |
style cleanup for blenkernel, no functional changes.
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index f2514c1030b..f5c39f3e30c 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -543,7 +543,7 @@ void brush_imbuf_new(const Scene *scene, Brush *brush, short flt, short texfall, if (flt) { copy_v3_v3(brush_rgb, brush->rgb); - if(use_color_correction){ + if (use_color_correction) { srgb_to_linearrgb_v3_v3(brush_rgb, brush_rgb); } @@ -1048,9 +1048,9 @@ void brush_jitter_pos(const Scene *scene, Brush *brush, float pos[2], float jitt /* jitter-ed brush gives weird and unpredictable result for this kinds of stroke, so manyally disable jitter usage (sergey) */ - use_jitter&= (brush->flag & (BRUSH_RESTORE_MESH|BRUSH_ANCHORED)) == 0; + use_jitter &= (brush->flag & (BRUSH_RESTORE_MESH|BRUSH_ANCHORED)) == 0; - if(use_jitter){ + if (use_jitter) { float rand_pos[2]; const int radius= brush_size(scene, brush); const int diameter= 2*radius; |