Fix T41497: Colour Ramp UI Bug.
This commit is contained in:
parent
e56cc87a4d
commit
7a36251bc9
Notes:
blender-bot
2023-02-14 10:11:52 +01:00
Referenced by issue #41497, Colour Ramp UI Bug
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue