提交 6c12df36 编写于 作者: P pandakub 提交者: Mr.doob

Update convert_to_threejs.py (#9175)

syntax error for "print" on:
Line 388
Line 2066
上级 602f3803
......@@ -385,7 +385,7 @@ def generate_material_object(material):
}
else:
print "Unknown type of Material", getMaterialName(material)
print ("Unknown type of Material"), getMaterialName(material)
# default to Lambert Material if the current Material type cannot be handeled
if not material_type:
......@@ -2063,7 +2063,7 @@ def copy_textures(textures):
shutil.copyfile(url, saveFilename)
texture_dict[url] = True
except IOError as e:
print "I/O error({0}): {1} {2}".format(e.errno, e.strerror, url)
print ("I/O error({0}): {1} {2}").format(e.errno, e.strerror, url)
def findFilesWithExt(directory, ext, include_path = True):
ext = ext.lower()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册