diff options
author | Matt Ebb <matt@mke3.net> | 2010-04-13 12:30:53 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-04-13 12:30:53 +0400 |
commit | e50f7986476a2fe5604d78db6dea784384d3e38f (patch) | |
tree | 89bc2b9004781631886b4c873f2e81e0376a707c /source/blender | |
parent | 403c1e2a8ea1bf5780ac6b290d9099a8bd279dea (diff) |
Fix for hue correct node, was clamping value of hsv unnecessarily.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_huecorrect.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_huecorrect.c b/source/blender/nodes/intern/CMP_nodes/CMP_huecorrect.c index 58850cf3568..95db66d92f7 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_huecorrect.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_huecorrect.c @@ -60,7 +60,6 @@ static void do_huecorrect(bNode *node, float *out, float *in) CLAMP(hsv[0], 0.f, 1.f); CLAMP(hsv[1], 0.f, 1.f); - CLAMP(hsv[2], 0.f, 1.f); /* convert back to rgb */ hsv_to_rgb(hsv[0], hsv[1], hsv[2], out, out+1, out+2); @@ -89,7 +88,6 @@ static void do_huecorrect_fac(bNode *node, float *out, float *in, float *fac) CLAMP(hsv[0], 0.f, 1.f); CLAMP(hsv[1], 0.f, 1.f); - CLAMP(hsv[2], 0.f, 1.f); /* convert back to rgb */ hsv_to_rgb(hsv[0], hsv[1], hsv[2], rgb, rgb+1, rgb+2); |