diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-13 04:55:46 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-13 04:57:45 +0300 |
commit | d0a70adf8f2e8977fb27f8987488bded33e82106 (patch) | |
tree | 3849af04c37131d7cd54cac4f8254f1b4e938604 | |
parent | af176760054f2f3c17c524414d415dca9abb378e (diff) |
Cleanup: shadowed variable warning
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_filter_color.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_color.c b/source/blender/editors/sculpt_paint/sculpt_filter_color.c index 70ae1fbdd3d..5d4a2c54832 100644 --- a/source/blender/editors/sculpt_paint/sculpt_filter_color.c +++ b/source/blender/editors/sculpt_paint/sculpt_filter_color.c @@ -200,14 +200,14 @@ static void color_filter_task_cb(void *__restrict userdata, bool copy_alpha = col[3] == smooth_color[3]; if (fade < 0.0f) { - float delta[4]; + float delta_color[4]; /* Unsharp mask. */ - copy_v4_v4(delta, ss->filter_cache->pre_smoothed_color[vd.index]); - sub_v4_v4(delta, smooth_color); + copy_v4_v4(delta_color, ss->filter_cache->pre_smoothed_color[vd.index]); + sub_v4_v4(delta_color, smooth_color); copy_v4_v4(final_color, col); - madd_v4_v4fl(final_color, delta, fade); + madd_v4_v4fl(final_color, delta_color, fade); } else { blend_color_interpolate_float(final_color, col, smooth_color, fade); |