diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-22 03:47:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-22 04:12:56 +0400 |
commit | 847654ba52a6ba31c3271a7d6afe06ea062d34ff (patch) | |
tree | e23f12b240c98ba784ce8011a5610a71f58e0ad0 /source/blender/blenkernel/intern | |
parent | 603348c56e5f86dbc10076daa01ebfab2b49f739 (diff) |
ColorRamp: HSV CW/CCW were flipped
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c index 6613df9cbcd..50aed50fa8a 100644 --- a/source/blender/blenkernel/intern/texture.c +++ b/source/blender/blenkernel/intern/texture.c @@ -285,13 +285,13 @@ static float colorband_hue_interp( else mode = 0; break; } - case COLBAND_HUE_CW: + case COLBAND_HUE_CCW: { if (h1 > h2) mode = 2; else mode = 0; break; } - case COLBAND_HUE_CCW: + case COLBAND_HUE_CW: { if (h1 < h2) mode = 1; else mode = 0; |