mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-07 20:19:02 +08:00
Bug fix
This commit is contained in:
parent
87bff34eb6
commit
43de0e1c06
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user