Do you want to work on this issue?
You can request for a bounty in order to promote it!
Automapping - Backtracking after placing Object #3471
MisterMeme95 posted onGitHub
Describe the bug As the title suggests, the issue is in referencing to using Objects in an an automapping rule TMX. For tiles, whenever an error is made, I can easily press "Ctrl+Z" to undo any combination. This is done seamlessly, and automatically reverts back to the state it was before any additional tiles had been painted AND any rules were applied.
This doesn't happen with objects.
When an object is part of automapping output, when you try to undo a paint, it doesn't immediately go back to the appropriate state. Instead, it may take 2-3 uses of undo, similar to how the original automapping (before 1.9) would work.
Small bug, but something worth noting nonetheless.
To Reproduce Steps to reproduce the behavior:
- Create an automapping with an input/output rule for tiles.
- On top of the output for a tile, add an additional output for a specific object.
- Implement the rule on an actual map.
- Press the Undo command.
- See the error.
Expected behavior Press Ctrl+Z should undo any painting done by the rule set.
Media Image 1 Rule applied Attempt to Undo. Specifications:
- OS: Windows 11
- Tiled Version: 1.91