Better Wardrobe and Transmog

Better Wardrobe and Transmog

6M Downloads

Error when coming out of cutscenes

solitha opened this issue ยท 1 comments

commented
5x BetterWardrobe\Modules\Wardrobe-Appearances.lua:7094: attempt to index global 'WardrobeTransmogFrame' (a nil value)
[string "@BetterWardrobe\Modules\Wardrobe-Appearances.lua"]:7094: in function `GetItemTransmogInfoList'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:357: in function `IsOutfitDressed'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:294: in function `UpdateSaveButton'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:287: in function <...rfaceBetterWardrobe\Modules\SavedOutfits.lua:275>
[string "=[C]"]: in function `LoadOutfit'
[string "@BetterWardrobe\Modules\Wardrobe-Appearances.lua"]:7027: in function `LoadOutfit'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:318: in function `SelectOutfit'
[string "@BetterWardrobe\Modules\SavedOutfits.lua"]:263: in function <...rfaceBetterWardrobe\Modules\SavedOutfits.lua:260>
[string "=[C]"]: in function `Show'
[string "@FrameXML\UIParent.lua"]:2883: in function `SetUIPanel'
[string "@FrameXML\UIParent.lua"]:2957: in function `HideUIPanel'
[string "@FrameXML\UIParent.lua"]:2645: in function <FrameXML\UIParent.lua:2637>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML\UIParent.lua"]:3512: in function `HideUIPanel'
[string "@FrameXML\CinematicFrame.lua"]:59: in function <FrameXML\CinematicFrame.lua:44>

Locals:
self = BetterWardrobeOutfitDropDown {
 0 = <userdata>
 LoadOutfit = <function> defined @BetterWardrobe\Modules\Wardrobe.lua:7018
 Left = BetterWardrobeOutfitDropDownLeft {
 }
 OnLoad = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:247
 UpdateSaveButton = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:292
 CheckOutfitForSave = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:400
 width = 188
 OnSelectOutfit = <function> defined @BetterWardrobe\Modules\Wardrobe.lua:7107
 Button = BetterWardrobeOutfitDropDownButton {
 }
 Icon = BetterWardrobeOutfitDropDownIcon {
 }
 IsDefaultSet = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:448
 Middle = BetterWardrobeOutfitDropDownMiddle {
 }
 OnOutfitApplied = <function> defined @BetterWardrobe\Modules\Wardrobe.lua:6999
 Right = BetterWardrobeOutfitDropDownRight {
 }
 OnShow = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:260
 IsOutfitDressed = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:345
 GetLastOutfitID = <function> defined @BetterWardrobe\Modules\Wardrobe.lua:7117
 Text = BetterWardrobeOutfitDropDownText {
 }
 maxMenuStringWidth = 216
 OnEvent = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:275
 SaveButton = <unnamed> {
 }
 minMenuStringWidth = 152
 GetItemTransmogInfoList = <function> defined @BetterWardrobe\Modules\Wardrobe.lua:7093
 selectedOutfitID = 0
 OnHide = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:266
 SelectOutfit = <function> defined @BetterWardrobe\Modules\SavedOutfits.lua:303
 OnOutfitSaved = <function> defined @BetterWardrobe\Modules\Wardrobe.lua:7101
 noResize = 1
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'WardrobeTransmogFrame' (a nil value)"

commented

Moved the BetterWardrobeOutfitDropDown out of UIParent to hopefully stop it from triggering it's OnShow before the other needed frames are created.