diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-24 15:18:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-24 17:19:39 +0300 |
commit | febf8cb01d2e4323f7788a75bb62b0ef4475883b (patch) | |
tree | 8d45f3de86dbe1d7664cfeaa03434e8411bdcb01 /source/blender/editors/sculpt_paint | |
parent | 7f89bc8e8502cdf8b62221265b564fce4219332f (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image_proj.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c index ac34184c208..a569bf469b3 100644 --- a/source/blender/editors/sculpt_paint/paint_image_proj.c +++ b/source/blender/editors/sculpt_paint/paint_image_proj.c @@ -4669,7 +4669,9 @@ static void *do_projectpaint_thread(void *ph_v) rgb_straight[3] = projPixel->origColor.f_pt[3]; straight_to_premul_v4_v4(projPixel->pixel.f_pt, rgb_straight); } - else projPixel->pixel.ch_pt[3] = projPixel->origColor.ch_pt[3]; + else { + projPixel->pixel.ch_pt[3] = projPixel->origColor.ch_pt[3]; + } } last_partial_redraw_cell = last_projIma->partRedrawRect + projPixel->bb_cell_index; @@ -4844,7 +4846,9 @@ static void *do_projectpaint_thread(void *ph_v) rgb_straight[3] = projPixel->origColor.f_pt[3]; straight_to_premul_v4_v4(projPixel->pixel.f_pt, rgb_straight); } - else projPixel->pixel.ch_pt[3] = projPixel->origColor.ch_pt[3]; + else { + projPixel->pixel.ch_pt[3] = projPixel->origColor.ch_pt[3]; + } } } |