Thread: New 1.6 error
View Single Post
03/06/15, 02:21 AM   #11
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by circonian View Post
Strange, that appears to happen with my WaypointIt addon installed. If I turn it off I can drag the skills again.

Although I'm not sure why. WaypointIt has nothing to do with skills. It does not call that function or any function that has anything to do with dragging, slots, skills, or those skill windows.
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.

I also fixed this, but that has hardly anything to do with it, in the end I just removed bindings.xml from the manifest.
xml Code:
  1. -    <Layer name="SI_KEYBINDINGS_CATEGORY_GENERAL">
  2. +    <Layer name="SI_KEYBINDINGS_LAYER_GENERAL">
  Reply With Quote