Thread: New 1.6 error
View Single Post
03/06/15, 08:42 PM   #15
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by merlight View Post
Commenting these two allowed me to drag skills.
Lua Code:
  1. --
  2.        --HUD_SCENE:AddFragment(self.FRAGMENT_DIRECTION_ARROW)
  3.        --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
  Reply With Quote