-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JSON format: Fixed tile order when loading a tileset using the old fo…
…rmat Since Tiled 1.7, the order of tiles in the tileset file determines the display order. But this should not be the case for tilesets stored in the old JSON format (which was replaced in Tiled 1.2), since it used an object with the tile IDs as string keys for storing tile meta-data and these keys get sorted alphabetically. This was resulting in tiles with associated data getting displayed in an order like "1, 10, 11, 12, 13, ..., 2, 21, ...".
- Loading branch information
Showing
4 changed files
with
17 additions
and
0 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
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