diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-12 23:56:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-12 23:56:22 +0300 |
commit | 3a8215e125095d8d0ff8696e663c877ac3e87368 (patch) | |
tree | 0eec220afc04616b9d1cde2a1b5c1196a61dd1e2 /testxml | |
parent | 58162db929e1dbbcb9065a1d76e54a4b7416b74a (diff) | |
download | evol-tools-3a8215e125095d8d0ff8696e663c877ac3e87368.tar.gz evol-tools-3a8215e125095d8d0ff8696e663c877ac3e87368.tar.bz2 evol-tools-3a8215e125095d8d0ff8696e663c877ac3e87368.tar.xz evol-tools-3a8215e125095d8d0ff8696e663c877ac3e87368.zip |
testxml: ignore case in layer names.s20180417
Diffstat (limited to 'testxml')
-rwxr-xr-x | testxml/testxml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testxml/testxml.py b/testxml/testxml.py index 732288c..66d08df 100755 --- a/testxml/testxml.py +++ b/testxml/testxml.py @@ -1672,10 +1672,10 @@ def testOverSizedTiles(layer, tiles, file): continue tile, tilesetName = findTileByGid(tiles, val) - if layer.name not in ("Collision", "Heights") and tilesetName in ignoredFiles: + if layer.name.lower() not in ("collision", "heights") and tilesetName in ignoredFiles: ignoreErrList.append((x, y)) ignoreTilesetList.add(tilesetName) - if layer.name == "Fringe": + if layer.name.lower() == "fringe": continue if tile is None: # now ignoring, this happend because layer parser |