This commit is contained in:
Seva Alekseyev 2016-08-09 11:46:41 -04:00
parent d32c300ee7
commit 315b4a46b7

View file

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