forked from mapeditor/tiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automapping: Fixed adding of new tilesets used by applied changes (ma…
…peditor#3983) There was some code that should have done this, but it was checking which new tilesets were used before that actual changes had been applied, which entirely broke it. It was probably broken since Tiled 1.9.
- Loading branch information
Showing
6 changed files
with
79 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="5" height="5" tilewidth="16" tileheight="16" infinite="0" nextlayerid="9" nextobjectid="1"> | ||
<tileset firstgid="1" source="../spr_test_tileset.tsx"/> | ||
<layer id="1" name="set" width="5" height="5"> | ||
<data encoding="csv"> | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0 | ||
</data> | ||
</layer> | ||
<layer id="8" name="auto" width="5" height="5"> | ||
<data encoding="csv"> | ||
2,2,2,2,2, | ||
2,2,2,2,2, | ||
2,2,2,2,2, | ||
2,2,2,2,2, | ||
2,2,2,2,2 | ||
</data> | ||
</layer> | ||
</map> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="5" height="5" tilewidth="16" tileheight="16" infinite="0" nextlayerid="9" nextobjectid="1"> | ||
<layer id="1" name="set" width="5" height="5"> | ||
<data encoding="csv"> | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0 | ||
</data> | ||
</layer> | ||
<layer id="8" name="auto" width="5" height="5"> | ||
<data encoding="csv"> | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0, | ||
0,0,0,0,0 | ||
</data> | ||
</layer> | ||
</map> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="3" height="3" tilewidth="16" tileheight="16" infinite="0" nextlayerid="5" nextobjectid="5"> | ||
<tileset firstgid="1" source="../spr_test_tileset.tsx"/> | ||
<tileset firstgid="17" source=":/automap-tiles.tsx"/> | ||
<layer id="1" name="input_set" width="3" height="3"> | ||
<data encoding="csv"> | ||
0,0,0, | ||
0,20,0, | ||
0,0,0 | ||
</data> | ||
</layer> | ||
<layer id="2" name="output_auto" width="3" height="3"> | ||
<data encoding="csv"> | ||
0,0,0, | ||
0,2,0, | ||
0,0,0 | ||
</data> | ||
</layer> | ||
</map> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./rules.tmx |