Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-08-20 16:46:10 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-08-20 16:46:38 +0400
commit7a36251bc9fbbb3dc1037e167b46a1d7b645de78 (patch)
tree47d20d8059760cbe897b642bb83ead9847c28dc0 /source/blender/blenkernel/intern/texture.c
parente56cc87a4d638fcde6db2a226c103ff57cd62326 (diff)
Fix T41497: Colour Ramp UI Bug.
Diffstat (limited to 'source/blender/blenkernel/intern/texture.c')
-rw-r--r--source/blender/blenkernel/intern/texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/texture.c b/source/blender/blenkernel/intern/texture.c
index 62e55a70d3f..6613df9cbcd 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;