Skip to content

Commit

Permalink
Fix lua error if a group contains an aura with a texture sub element
Browse files Browse the repository at this point in the history
Fixes: #5653
  • Loading branch information
InfusOnWoW authored and emptyrivers committed Feb 9, 2025
1 parent e371535 commit aa17664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeakAurasOptions/SubRegionOptions/Texture.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ local function createOptions(parentData, data, index, subIndex)
width = WeakAuras.normalWidth,
name = L["Allow Full Rotation"],
order = 13,
hidden = OptionsPrivate.Private.TextureBase.IsAtlas(data.texture)
hidden = data and OptionsPrivate.Private.TextureBase.IsAtlas(data.texture)
},
textureRotation = {
type = "range",
Expand Down

0 comments on commit aa17664

Please sign in to comment.