RPTools / maptool

Virtual Tabletop for playing roleplaying games with remote players or face to face.
http://rptools.net
GNU Affero General Public License v3.0
800 stars 262 forks source link

[Bug]: States being resized based on rotation #4944

Closed TheJadeKnight closed 1 month ago

TheJadeKnight commented 1 month ago

Describe the Bug

When Tokens rotate, the state images on them get resized, which can make the Token look a completely different size than it is. I have attached an example.

In this example, all of the Tokens are the same size, but they look like they're different sizes because their states get bigger when they're facing vertices. Expected behavior would be that the states remain the same size regardless of the facing of the Token.

To Reproduce

Add a state with an image to a token. Rotate the token so it is facing a square vertex.

Expected Behaviour

For states to remain the same size regardless of the facing of the Token, so it doesn't look like Tokens are all different sizes when they're rotated.

Screenshots

image

MapTool Info

1.14.3

Desktop

Windows

Additional Context

No response

bubblobill commented 1 month ago

Is probably being sized relative to the bounding box. image Does the state image size oscillate each quarter turn?

FullBleed commented 1 month ago

I've noticed that this is only an issue with fine rotational adjustments (rotating while holding Ctrl-Shft) or on rotations to vertices (must set to allow in preferences.)

Not a issue with quarter turns.

TheJadeKnight commented 1 month ago

Is probably being sized relative to the bounding box. image Does the state image size oscillate each quarter turn?

Yes, I expected it's being sized relative to the bounding box. It's an issue for rotations to vertices, but not on the faces.

bubblobill commented 1 month ago

Sorted in #4968