mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Bug fix
This commit is contained in:
parent
87bff34eb6
commit
43de0e1c06
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue