View Single Post
Unread 08-04-12, 12:55 PM   #10
Sinaris
A Cyclonian
 
Sinaris's Avatar
AddOn Compiler - Click to view compilations
Join Date: Oct 2008
Posts: 48
i found the error i had.
haste had changed the ColorGardient function into the oUF core files.

the old way i used some month was this:

Lua Code:
  1. local r, g, b = oUFTukui.ColorGradient( min / max, unpack( C["unitframes"]["gradient"] ) )

the first value of the function was value X / value Y
the new function said this:

Lua Code:
  1. local r, g, b = oUFTukui.ColorGradient( min, max, unpack( C["unitframes"]["gradient"] ) )

now i have to put in both variables into the function instead of one single variable.
__________________
LUI v3 - Forum and Homepage Administration
LUI Support Homepage
Sinaris is offline