D14808: Use saturation as multiplier for saturation filter
A change proposed in T97697, using existing saturation as a multiplier for the filter operation {F13038602} Review By: Joseph Eagar, Julian Kaspar Differential Revision: https://developer.blender.org/D14808 Ref D14808
This commit is contained in:
parent
eaa63c7d68
commit
2fc6563a59
Notes:
blender-bot
2023-02-14 11:18:07 +01:00
Referenced by issue #97697, Sculpt Mode: Correct color filter saturation
|
@ -132,7 +132,7 @@ static void color_filter_task_cb(void *__restrict userdata,
|
|||
rgb_to_hsv_v(orig_color, hsv_color);
|
||||
|
||||
if (hsv_color[1] > 0.001f) {
|
||||
hsv_color[1] = clamp_f(hsv_color[1] + fade, 0.0f, 1.0f);
|
||||
hsv_color[1] = clamp_f(hsv_color[1] + fade * hsv_color[1], 0.0f, 1.0f);
|
||||
hsv_to_rgb_v(hsv_color, final_color);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue