File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
patches/lose files/Interface/addons/transmog_by_dan Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -424,7 +424,9 @@ function PaperDollItemSlotButton_Update(self)
424424 self .hasItem = nil ;
425425 end
426426
427- UpdateSlotTexture (self :GetName ())
427+ for slotName , _ in pairs (SLOT_IDS ) do
428+ UpdateSlotTexture (slotName )
429+ end
428430
429431 if ( not GearManagerDialog :IsShown () ) then
430432 self .ignored = nil ;
@@ -847,7 +849,6 @@ function OnClickTransmogButton(self)
847849 for slot , _ in pairs (SLOT_IDS ) do
848850 currentTransmogIds [slot ] = originalTransmogIds [slot ]
849851 end
850- UpdateAllSlotTextures ()
851852 CharacterModelFrame :Show ()
852853 CharacterModelFrameFake :Hide ()
853854 currentSlot = PLAYER_VISIBLE_ITEM_1_ENTRYID
862863
863864function OnHideTransmogFrame (self )
864865 PlaySound (" INTERFACESOUND_CHARWINDOWCLOSE" , " master" )
865- for slot , value in pairs (originalTransmogIds ) do
866- currentTransmogIds [slot ] = value
866+ for slot , _ in pairs (SLOT_IDS ) do
867+ currentTransmogIds [slot ] = originalTransmogIds [ slot ]
867868 end
868869 UpdateAllSlotTextures ()
869870 CharacterModelFrame :Hide ()
You can’t perform that action at this time.
0 commit comments