Merge pull request #11 from gavincz/master

Update xml_parser.py
This commit is contained in:
Paul V Craven
2019-12-15 10:31:31 -06:00
committed by GitHub

View File

@@ -317,7 +317,7 @@ def _parse_objects(
pass
try:
tiled_object.rotation = int(object_element.attrib["rotation"])
tiled_object.rotation = float(object_element.attrib["rotation"])
except KeyError:
pass