From 3a8215e125095d8d0ff8696e663c877ac3e87368 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Apr 2018 23:56:22 +0300 Subject: testxml: ignore case in layer names. --- testxml/testxml.py | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2