You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating an animation, it rotates off center if the scale is > 1.
To Reproduce
Steps to reproduce the behavior:
Click "Add Animation" button on the Foundry UI
Click on "Add New" (or "Update" to change parameters of an existing)
Set as follows:
Scale: 2
Speed of Rotation: 10
Radius of Rotation: 0
Copies: 1
X Scale: 0.5
Y Scale: 0.5
Click "Create"
Expected behavior
Animation should rotate around the token with the center of the animation centered on the token.
Screenshots
Settings:
Expected position:
Actual Position:
Environment:
Windows 10
Browser Chrome 97.0.4692.71
Foundry Version 9.242
Module Version 0.2.7
All Modules Disabled: Yes
Module List if no:
Additional context
I ran the debugger in the Chrome console and checked the code in the RenderAnim function. I think the textureSize variable should be multiplied by the scale variable. Caveat: I'm not primarily a Javascript developer, so please take that with a grain of salt. If I alter the value manually when debugging it works, but I don't know what side effects it could have.
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating an animation, it rotates off center if the scale is > 1.
To Reproduce
Steps to reproduce the behavior:
Scale: 2
Speed of Rotation: 10
Radius of Rotation: 0
Copies: 1
X Scale: 0.5
Y Scale: 0.5
Expected behavior
Animation should rotate around the token with the center of the animation centered on the token.
Screenshots
Settings:
Expected position:
Actual Position:
Environment:
Additional context
I ran the debugger in the Chrome console and checked the code in the RenderAnim function. I think the textureSize variable should be multiplied by the scale variable. Caveat: I'm not primarily a Javascript developer, so please take that with a grain of salt. If I alter the value manually when debugging it works, but I don't know what side effects it could have.
The text was updated successfully, but these errors were encountered: