View Single Post
09/14/15, 04:11 PM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Just a hint as this lead to crashes in the past (maybe it is not necessary anymore today as the code got changed?):

Inside your callback function of the row, after the original callback function was executed, check if the inventory updte was executed because a horse got changed and your bagsize changed this way:

Lua Code:
  1. --Do not execute if horse is changed
  2. if SCENE_MANAGER:GetCurrentScene() ~= STABLES_SCENE then
  3. -- do your stuff
  4. end

In the past, if you didn't check for the horse stuff, the game crashed some times. But this maybe old and not needed anymore? Maybe circonian knows as his code is not using it.
  Reply With Quote