-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed copying and capturing stamps on staggered maps
When copying a selected area or creating a tile stamp from the selection, the captured stamp would only have the tiles in the correct position when the selection started at even positions. When capturing an area at an odd position, the stagger index needs to be adjusted. This was already done for right-click capturing in the CaptureStampHelper, and now it also happens in Map::normalizeTileLayerPositionsAndMapSize. Fixes #2874 (cherry picked from commit 0f7804c)
- Loading branch information
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters