Originally Posted by merlight
Commenting these two allowed me to drag skills.
Lua Code:
-- --HUD_SCENE:AddFragment(self.FRAGMENT_DIRECTION_ARROW) --HUD_SCENE:AddFragment(self.FRAGMENT_GROUP_DIRECTION_ARROW)
There surely is something wicked going on. Buttons in SKILLS_WINDOW are contained in a ZO_ScrollList, which means they're created on-the-fly, from whichever code triggers a refresh with not enough buttons previously created. I traced it back to ZO_AnimatedSceneFragmet:Show. WaypointIt fragments were not on the list, but I was already out of ideas, so tried commenting them out and voila! Interestingly, after not-adding your fragments, I can drag skills even with my hooks still in place, which I thought would've lead to the same error.
|
Yeah, it looks like a bug. I'm not sure why adding a fragment to the hud scene would cause it. I created a test addon with minimal code & added a label to the hud scene & it still causes the error. So I created a thread for it to see if anyone else has any ideas or maybe get a ZOS response if its a bug:
HUD_SCENE:AddFragment