PDA

View Full Version : girder osd Text class bug



bujar
March 8th, 2006, 04:15 PM
In Update() function, the color parameter is effectively ignored.

I found osd-work.lua in other topics and it seems that this bug is a typo. I guess the correct fix is to change this:

Update = function (self,text,Color)

to this:

Update = function (self,text,color)

inside of osd.Classes.Text definition.

The variable name used later in Update function is referenced like this:
self.Color= color or self.Color

Jarek