ColourMultiplier setting hasColour flag even if colour is -1
MrTJP opened this issue ยท 3 comments
If the Colour Multiplier is -1, it sets the colour as -1, but using that method also sets the hasColour flag in the render state. If load() is returning false, shouldn't it not do anything to the render state?
The contract isn't necessarily that if load returns false the render state must not be altered, but that the render state be configured in such a way that the operation is now redundant. I think that was my initial intention when writing this, however it shouldn't actually do anything (unless you have useColour set to false, and still have a ColourMultiplier in the pipeline).
Continue discussion on pull request