I'm not 100% sure this is correct, but the Color() class constructor requires RGB values (their defaults are all -1). When a new Color() is instantiated on line 217, there's no args passed, this throws a ErrorException. Setting the values here to -1, -1, -1 correctly instantiates a new Color().
I'm not 100% sure this is correct, but the
Color()
class constructor requires RGB values (their defaults are all -1). When a newColor()
is instantiated on line 217, there's no args passed, this throws a ErrorException. Setting the values here to -1, -1, -1 correctly instantiates a newColor()
.