mpstark / DynamicCam

A more dynamic camera for World of Warcraft.
MIT License
22 stars 11 forks source link

adding ExtraActionBarFrame to "custom frames to keep" causes Interface/AddOns/DynamicCam/UiHideModule.lua:702: attempt to index a nil value #91

Closed ScottIngram closed 5 months ago

ScottIngram commented 7 months ago

For the dragon riding situation, I added a Situation Action: Fade Out UI with "custom frames to keep" that included ExtraActionBarFrame.

Interface/AddOns/DynamicCam/UiHideModule.lua:702

My Fix:

      local parent = frame:GetParent()
      fadeInfo.startAlpha = parent and parent:GetAlpha() or 1

p.s. my complete list at the moment is: DR_STATUS_BAR, TomTomCrazyArrow, ObjectiveTrackerUIWidgetContainer, TalkingHeadFrame, UIErrorsFrame, ExtraActionBarFrame, WeakAurasFrame, RaidBossEmoteFrame, EventToastManagerFrame

LudiusMaximus commented 5 months ago

Fixed with @ScottIngram's pull request. Thanks again! :-)