Better Wardrobe and Transmog

Better Wardrobe and Transmog

6M Downloads

Lua Error in ColorFilter ConvertRGB_to_LAB

agentschmitt opened this issue ยท 2 comments

commented

I got a lua error in BetterWardrobe when using the color picker.

34x BetterWardrobe/Modules/ColorFilter.lua:160: attempt to call global 'ConvertRGB_to_LAB' (a nil value) [string "@BetterWardrobe/Modules/ColorFilter.lua"]:160: in function func'
[string "*ColorPickerFrame.xml:107_OnColorSelect"]:3: in function <[string "*ColorPickerFrame.xml:107_OnColorSelect"]:1>
[string "=[C]"]: in function `SetColorRGB'
[string "@BetterWardrobe/Modules/ColorFilter.lua"]:186: in function <BetterWardrobe/Modules/ColorFilter.lua:122>
[string "@BetterWardrobe/Modules/ColorFilter.lua"]:217: in function <BetterWardrobe/Modules/ColorFilter.lua:216>

Locals:
ItemsCollectionFrame = Frame {
0 =
ClearAppearanceTooltip = defined @BetterWardrobe/Modules/Wardrobe.lua:2885
ShadowCornerTopRight = Texture {
}
IsAppearanceUsableForActiveCategory = defined @BetterWardrobe/Modules/Wardrobe.lua:2960
GoToSourceID = defined @BetterWardrobe/Modules/Wardrobe.lua:2835
SortVisuals = defined @BetterWardrobe/Modules/Wardrobe.lua:2341
ModelR1C2 = DressUpModel {
}
transmogLocation =

{
}
OnUnitModelChangedEvent = defined @BetterWardrobe/Modules/Wardrobe.lua:2068
OnShow = defined @BetterWardrobe/Modules/Wardrobe.lua:1900
ShadowCornerLeft = Texture {
}
lastWeaponCategory = 29
UpdateSlotButtons = defined @BetterWardrobe/Modules/Wardrobe.lua:2890
BGCornerFilagreeBottomLeft = Texture {
}
ModelR2C2 = DressUpModel {
}
GetActiveCategory = defined @BetterWardrobe/Modules/Wardrobe.lua:2082
ShadowCornerRight = Texture {
}
ModelR3C2 = DressUpModel {
}
UpdateProgressBar = defined @BetterWardrobe/Modules/Wardrobe.lua:2674
SetActiveCategory = defined @BetterWardrobe/Modules/Wardrobe.lua:2187
ModelR1C5 = DressUpModel {
}
visualsList =
{
}
BGCornerBottomLeft = Texture {
}
tooltipModel = DressUpModel {
}
FilterVisuals = defined @BetterWardrobe/Modules/Wardrobe.lua:2267
OnPageChanged = defined @BetterWardrobe/Modules/Wardrobe.lua:2929
BGCornerTopRight = Texture {
}
ModelR1C1 = DressUpModel {
}
ShadowCornerBottomLeft = Texture {
}
SlotsFrame = Frame {
}
Bg = Texture {
}
HiddenModel = DressUpModel {
}
OverlayShadowBottomLeft = Texture {
}
ModelR2C6 = DressUpModel {
}
NineSlice = Frame {
}
CheckHelpTip = defined @BetterWardrobe/Modules/Wardrobe.lua:1843
activeCategory = 10
OverlayShadowLeft = Texture {
}
DressUpVisual = defined @BetterWardrobe/Modules/Wardrobe.lua:1958
ModelR2C3 = DressUpModel {
}
ModelR1C6 = DressUpModel {
}
GetAnAppearanceSourceFromVisual = defined @BetterWardrobe/Modules/Wardrobe.lua:2742
OnMouseWheel = defined @BetterWardrobe/Modules/Wardrobe.lua:1968
SetAppearanceTooltip = defined @BetterWardrobe/Modules/Wardrobe.lua:2859
NUM_ROWS = 3
RefreshVisualsList = defined @BetterWardrobe/Modules/Wardrobe.lua:2692
ShadowLineTop = Texture {
}
SelectVisual = defined @BetterWardrobe/Modules/Wardrobe.lua:2759
searchType = 1
CreateSlotButtons = defined @BetterWardrobe/Modules/Wardrobe.lua:1740
ResetPage = defined @BetterWardrobe/Modules/Wardrobe.lua:2238
BackgroundTile = Texture {
}
ModelR3C1 = DressUpModel {
}
SetTransmogrifierAppearancesShown = defined @BetterWardrobe/Modules/Wardrobe.lua:2155
BGCornerBottomRight = Texture {
}
ModelR3C6 = DressUpModel {
}
RightClickDropDown = BetterWardrobeModelRightClickDropDown {
}
ShadowCornerTopLeft = Texture {
}
GetActiveSlotInfo = defined @BetterWardrobe/Modules/Wardrobe.lua:2377
ModelR1C4 = DressUpModel {
}
OverlayShadowTop = Texture {
}
OnLoad = defined @BetterWardrobe/Modules/Wardrobe.lua:1822
PendingTransmogFrame = Frame {
}
PAGE_SIZE = 18
ValidateChosenVisualSources = defined @BetterWardrobe/Modules/Wardrobe.lua:3270
OverlayShadowTopRight = Texture {
}
chosenVisualSources =
{
}
GetActiveSlot = defined @BetterWardrobe/Modules/Wardrobe.lua:2078
ChangeModelsSlot = defined @BetterWardrobe/Modules/Wardrobe.lua:1997
ShadowCornerTop = Texture {
}
ModelR2C5 = DressUpModel {
}
OverlayShadowR`

commented

This can be fixed by change in line 160
ConvertRGB_to_LAB -> addon:ConvertRGB_to_LAB

commented

Fixed in next release