Model SubElement into an Icon weakaura caused Lua error.
Do you have an error log of what happened?
Message: ...terface\AddOns\WeakAuras\SubRegionTypes\BarModel.lua:104: attempt to call method 'SetModelAlpha' (a nil value)
Time: 04/02/21 12:19:58
Count: 731
Stack: [C]: in function `SetModelAlpha'
...terface\AddOns\WeakAuras\SubRegionTypes\BarModel.lua:104: in function `SetAlpha'
...terface\AddOns\WeakAuras\SubRegionTypes\BarModel.lua:109: in function `?'
...ace\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:33: in function `Notify'
...ace\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:397: in function `SetAnimAlpha'
Interface\AddOns\WeakAuras\Animations.lua:98: in function <Interface\AddOns\WeakAuras\Animations.lua:15>
Locals:
Message: ...terface\AddOns\WeakAuras\SubRegionTypes\BarModel.lua:104: attempt to call method 'SetModelAlpha' (a nil value)
Time: 04/02/21 12:19:58
Count: 707
Stack: [C]: in function `SetModelAlpha'
...terface\AddOns\WeakAuras\SubRegionTypes\BarModel.lua:104: in function `SetAlpha'
...terface\AddOns\WeakAuras\SubRegionTypes\BarModel.lua:109: in function `?'
...ace\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:33: in function `Notify'
...ace\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua:397: in function `SetAnimAlpha'
Interface\AddOns\WeakAuras\Animations.lua:146: in function <Interface\AddOns\WeakAuras\Animations.lua:15>
Locals:
Message: Interface\AddOns\WeakAuras\Modernize.lua:7: bad argument #2 to 'format' (string expected, got nil)
Time: 04/02/21 12:27:48
Count: 1
Stack: Interface\AddOns\WeakAuras\WeakAuras.lua:2519: in function `Add'
...ddOns\WeakAurasOptions\OptionsFrames\ModelPicker.lua:157: in function `Pick'
...ddOns\WeakAurasOptions\OptionsFrames\ModelPicker.lua:105: in function <...ddOns\WeakAurasOptions\OptionsFrames\ModelPicker.lua:102>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[4]"]:9: in function <[string "safecall Dispatcher[4]"]:5>
(tail call): ?
...face\AddOns\WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0.lua:318: in function `Fire'
...ceGUI-Widgets\AceGUIContainer-WeakAurasTreeGroup.lua:518: in function `SetSelected'
...ceGUI-Widgets\AceGUIContainer-WeakAurasTreeGroup.lua:197: in function <...ceGUI-Widgets\AceGUIContainer-WeakAurasTreeGroup.lua:193>
Locals: No locals to dump
To Reproduce
Steps to reproduce the behavior:
Add Model to an Icon weakaura
This causes Lua errors 1 and 2 (every frame)
If I disable Model 1 and go into the ModelPicker and select one .m2, gives lua error 3, each time a new model is selected.
Describe the bug
Model SubElement into an Icon weakaura caused Lua error.
Do you have an error log of what happened?
To Reproduce
Steps to reproduce the behavior:
Screenshots
Which version of WeakAuras are you using?
3.2.1
Additional Info
None