Model not updating unless the WA2 config window is opened
Baz4k opened this issue · 7 comments
Describe the bug
I added two 3D models. I set one to "player" and one to "target". Neither models update unless I type /wa. I would expect the player model to update when any gear is swapped and the target model to update when I change or lose a target.
Do you have an error log of what happened?
There is no error log.
To Reproduce
- type /wa in the chat box
- click New
- Click Model
- Name Model
- Check the box that says "Show model of Unit"
- Enter target in the "Model" box
- Click animate
- Close WA2 window
- Target any NPC, Player or mob
- Nothing happens at this point
- type /wa to open the WA2 config window
- When you close the window the new Model will be whatever you targeted.
- Close the window
- Select a different NPC, player or Mob
- Observe that the model did not update to the new target
- Type /wa to open the WA2 config...observe the model updating when the config window is opened.
Screenshots
No screenshot necessary
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Yes
Which version of WeakAuras are you using?
2.14.6
Was it working in a previous version? If yes, which was the last good one?
I just started using this mod recently, so I have no prior experience with it
Additional context
Model
Here is the string to see what I did.
!nsvxZPToq0)oTpCtWginVsioj0H6WGC6m5(Gic7126gHKR(GMWd8BVRKWan3xYaJNvRwP9SN9SIMqlOKnusL)V3uvbIzMNKCl9gkzTsxb6ByLVwPvDuYnc(UDmD1(xkukHLJUyDC6Ak5ThRRnGLMFv6yk59(v)Z4HdWyKLTk9cfxAPKPz5fzlpKQvVrZh0NNPkHsJOipj8pn8Dy47imSlgtXJZkTCL04bRXY0w0a9Y9aoyvJMM2GnUYQ5nnG2eV1IJocMV3busPZyvidyCRHTG0sC1183OKvtNqkwrkMSednSdL8aWe22tXUqdHyjlYMpNsCEqq6eS3XeC8IRDYaK)Yx3)99Ve)PbRtl3)Iv7G9FhKvhsHHswmFYZzlxH59(SIvtFys(9z32FBRIyglCRdJTSfkF9i6KSnGjscMoqiMvDyvfSglQIWrFiB(I7EAU3TtEImS9u7wOi68hy7b7Fjd870P0wnJB)xfwrR90Tf0sM4Ni1ILg2RgIhVAl2ObVUHj5By(I(820bcxQK43kNoeqFfbLkjIxmxByC5Np6JT7px82EDNXI7f0EALnc18HJgF(2rPj2RxcnhKC4XBbEtlQShna3uOyHXgKVldJpoCOONolfmJ5)51W3bF0j6E9HzSp1mGJJcM0RvUF0CB6)T9zFf(lh4j)8KepOlzcVD)KLVNfTYQAqcjpWs6qDf1fHYUpiIhJ5jxDgBGYnSKpZHExGEIRR5cygIjSt3aELKZId8p2zpXBgqu)HxaIjR)PIJC)5xSpryFi9BOhRQCBVE76bPE(3ZdfhYz8aXEATgNfWzDML55qYV5v4CBSNfFm6oFeXsNmDzwwEpCMjdOjb5ou0uZBIWpC73Yn(P7zYALNrpbXyw9Im(zL8jP05LuhZ)eYunGZWA4YjABlZi4LTVYLnxY(RLxSjnWDy3(IKrxGnKTi0gLMGEP)5d
It seems to update when I open and close the configuration window. If I change targets while the window is open and then close it it updates. So, it only updates when I open and close the options.
This is Working As Intended™, and wouldn’t really be that simple to improve. I’ll let other developers pitch in their thoughts before closing the ticket, though.
After thinking about it, is there a way to force reload the aura if the condition is true? Toss that on PLAYER_TARGET_CHANGED and it should update when you change targets, no? Basically, whatever function the /wa window passes to the aura in order to make it update, how do I put that in an event?
AFAIK #1431 should have fixed any issues with unit models.
If it's working as intended to not be able to show even player unit models then the feature ought to be removed entirely in my opinion, as it's not fit for purpose.
For me "target" works fine but player isn't delayed enough, I guess, as that never works from login.
What I meant by working as intended is that we’ve never supported model unit updates in response to eg player equipment changing, and we don’t have any system in place that would be quick to extend. If models aren’t properly loading at all then we can look into fixing that.