diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_filter_color.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_filter_color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_color.c b/source/blender/editors/sculpt_paint/sculpt_filter_color.c index a705f6aa8a8..3b1f80edfd0 100644 --- a/source/blender/editors/sculpt_paint/sculpt_filter_color.c +++ b/source/blender/editors/sculpt_paint/sculpt_filter_color.c @@ -131,7 +131,7 @@ static void color_filter_task_cb(void *__restrict userdata, case COLOR_FILTER_SATURATION: rgb_to_hsv_v(orig_color, hsv_color); - if (hsv_color[1] != 0.0f) { + if (hsv_color[1] > 0.001f) { hsv_color[1] = clamp_f(hsv_color[1] + fade, 0.0f, 1.0f); hsv_to_rgb_v(hsv_color, final_color); } |