[Bug]: Token VBL does not respect the token layout.
Closed this issue · 1 comments
kwvanderlinde commented
Describe the Bug
When a token's layout is changed, the topology is not transformed along with the image.
To Reproduce
- Add a token to a map.
- Add some VBL to the token.
- Open the topology tools to see the VBL on the token.
- Edit the token to have an offset and a scale.
- Notice the VBL is still at the same location and size.
Expected Behaviour
The token topology should be transformed in the same way as the token image.
Screenshots
MapTool Info
1.18.1
Desktop
Linux Mint 22.1
Additional Context
No response
kwvanderlinde commented
After testing, there's still an issue with the topology being misplaced and incorrectly scaled when transferring from the map to the token. It also only move the topology from under the token footprint, but it should move the topology from under the token image bounds. Going the other work works correctly, though.
As part of fixing this, I may separate "token bounds" and "token footprint bounds" into separate concepts, as different parts of the code may need one or the other.

