Fix T41497: Colour Ramp UI Bug.

This commit is contained in:
Bastien Montagne 2014-08-20 14:46:10 +02:00
parent e56cc87a4d
commit 7a36251bc9
Notes: blender-bot 2023-02-14 10:11:52 +01:00
Referenced by issue #41497, Colour Ramp UI Bug
1 changed files with 1 additions and 1 deletions

View File

@ -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;