This commit is contained in:
Seva Alekseyev 2016-08-09 11:46:41 -04:00 committed by Ghostkeeper
parent 87bff34eb6
commit 43de0e1c06

View File

@ -43,7 +43,7 @@ class X3DReader(MeshReader):
if root[0].tag == "head": if root[0].tag == "head":
for headNode in root[0]: for headNode in root[0]:
if headNode.tag == "unit" and headNode.attrib.get("category") == "length": if headNode.tag == "unit" and headNode.attrib.get("category") == "length":
scale *= float.parse(headNode.attrib["conversionFactor"]) scale *= float(headNode.attrib["conversionFactor"])
break break
scene = root[1] scene = root[1]
else: else: