Seva Alekseyev 8 years ago
parent
commit
43de0e1c06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/X3DReader/X3DReader.py

+ 1 - 1
plugins/X3DReader/X3DReader.py

@@ -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: