manuelVo / foundryvtt-drag-ruler

A Foundry VTT module that shows a ruler when dragging tokens so you can see how far you've dragged them
MIT License
40 stars 55 forks source link

Error when dragging animated token. #159

Closed Ikabodo closed 2 years ago

Ikabodo commented 2 years ago

image image

Since the last update (?) I'm getting this error when I try to drag tokens. Happens with only libwrapper and dragruler active.

Interesting notes:

Ikabodo commented 2 years ago

Just had this error too, not sure if it's related: image

manuelVo commented 2 years ago

Just to be sure: Does this bug disappear if you disable Drag Ruler?

If so, please share a screenshot of the "Appearance"-Tab of the affected token.

Ikabodo commented 2 years ago

I must admit, I didn't even check with just libwrapper. But it actually happens with just libwrapper active. I guess this is a bug with that module. :)

Ikabodo commented 2 years ago

Even seems to be a core issue. Interesting. I'll close this.

manuelVo commented 2 years ago

It's likely that your token is corrupt. Apparently it's missing the "scale" attribute, which shouldn't happen. It's hard to say what caused this token to become corrupted. It might as well be some module that did something nasty to the token in the past that made it break. Tracking down the real culprit is really difficult in such a situation. If it only affects a single token I'd suggest deleting and re-creating the token, which should fix the bug and if this never happens again, just ignore it as a one-off fluke.