Thread Tools Display Modes
Prev Previous Post   Next Post Next
11/17/21, 02:05 PM   #19
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Originally Posted by andy.s View Post
It would be nice to see a list of changes to core classes next time too. ZO_ObjectPool doesn't set the default resetFunction anymore, which caused some oddities in my addon that were hard to track based just on a few user reports of controls staying on screen when they shouldn't. Had to dive deep into the class code, which is not a problem, but it could've been avoided if I had known where to look sooner
Nice to know. Thank you andy.s.

This one? https://github.com/esoui/esoui/blob/...ctpool.lua#L35
Seems we need to manually add "ZO_ObjectPool_DefaultResetControl" now as "resetFunction" parameter to the call of ZO_ObjectPool, or what is the change needed here to solve your bug?

I recently noticed some weird "frozen" (not removed/hiden?) lines in the merTorchbug table lines here and there which I never noticed before.
Maybe it got to do with it.

Thank you!

Last edited by Baertram : 11/17/21 at 02:09 PM.
  Reply With Quote
 

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » Update 32 (Version 7.2)


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off