diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-28 19:37:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-28 19:37:18 +0400 |
commit | 608dc78241c98341c8fb4cab12d73f148adf0471 (patch) | |
tree | 6b8897d8a1859565e6ed5e19ad40916c29ecddc9 /source/blender/blenlib/intern/math_color_blend_inline.c | |
parent | 428debd9c8af81ed5870c70466d46a60646f49e3 (diff) |
warning cleanup: assignment to unused vars, r56359 changes how brush falloff is used slightly but this isn't so important so just remove falloff adjustment.
Diffstat (limited to 'source/blender/blenlib/intern/math_color_blend_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_color_blend_inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_color_blend_inline.c b/source/blender/blenlib/intern/math_color_blend_inline.c index ccc9f355d57..94a474da681 100644 --- a/source/blender/blenlib/intern/math_color_blend_inline.c +++ b/source/blender/blenlib/intern/math_color_blend_inline.c @@ -352,7 +352,7 @@ MINLINE void blend_color_darken_float(float dst[4], const float src1[4], const f * src1 and src2, then blend it with src1 */ const float t = src2[3]; const float mt = 1.0f - t; - const float map_alpha = src1[3]/src2[3]; + const float map_alpha = src1[3] / src2[3]; dst[0] = mt * src1[0] + t * min_ff(src1[0], src2[0] * map_alpha); dst[1] = mt * src1[1] + t * min_ff(src1[1], src2[1] * map_alpha); |