diff ObjectiveFrame.lua @ 8:7923243ae972

ObjectiveUI & ObjectiveEvents - securehook to API calls for compatibility with addons that work with the objective tracking interface - let the API hooks invoke ObjectiveUI functions when possible - ObjectiveUI framescript handlers should use the corresponding API call if possible, so that addon space can be fully aware of our actions - Sanity check cached data when possible during 'Remove' hooks ObjectiveInfo - Add cheevID to criteria info ObjectiveCore - Index quest tracker blocks by their watch offset, and use that to verify whether the given block frame should be released into pool ObjectiveFrame - Differentiate between visible and non-visible unused buttons, and only release when their quest has been dropped
author Nenue
date Fri, 01 Apr 2016 14:40:14 -0400
parents 5301c68f28d8
children 2698173edd40
line wrap: on
line diff
--- a/ObjectiveFrame.lua	Fri Apr 01 12:27:05 2016 -0400
+++ b/ObjectiveFrame.lua	Fri Apr 01 14:40:14 2016 -0400
@@ -668,7 +668,6 @@
   )
   mod.UpdateActionButtons('FULL_UPDATE')
 
-  QuestPOIUpdateIcons()
 end
 
 --- Queue any active item buttons for update for that frame
@@ -704,10 +703,12 @@
         itemButton.previousItem = nil
         itemButton:Hide()
       end
-    else
-      print('  |cFFFF0088missing block data', itemButton:GetName())
+    elseif itemButton:IsVisible() then
+      print('  |cFFFF0088hiding unwatched quest button', itemButton:GetName())
       itemButton.previousItem = nil
       itemButton:Hide()
+    else
+      print('  |cFFBBBBBBignoring hidden log quest button', itemButton:GetName())
     end
   end
 end