[Bf-blender-cvs] [7a36251] master: Fix T41497: Colour Ramp UI Bug.
Bastien Montagne
noreply at git.blender.org
Wed Aug 20 14:47:23 CEST 2014
Commit: 7a36251bc9fbbb3dc1037e167b46a1d7b645de78
Author: Bastien Montagne
Date: Wed Aug 20 14:46:10 2014 +0200
Branches: master
https://developer.blender.org/rB7a36251bc9fbbb3dc1037e167b46a1d7b645de78
Fix T41497: Colour Ramp UI Bug.
===================================================================
M source/blender/blenkernel/intern/texture.c
===================================================================
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c
index 62e55a7..6613df9 100644
--- a/source/blender/blenkernel/intern/texture.c
+++ b/source/blender/blenkernel/intern/texture.c
@@ -384,7 +384,7 @@ bool do_colorband(const ColorBand *coba, float in, float out[4])
fac = (a != coba->tot) ? 0.0f : 1.0f;
}
- if (coba->ipotype == COLBAND_INTERP_CONSTANT) {
+ if (ipotype == COLBAND_INTERP_CONSTANT) {
/* constant */
out[0] = cbd2->r;
out[1] = cbd2->g;
More information about the Bf-blender-cvs
mailing list