提交 ac7cc20b 编写于 作者: M Mr.doob

Blender Exporter: Fixed incorrect JSON when object doesn't have material.

上级 6c7be881
......@@ -1650,7 +1650,7 @@ def generate_objects(data):
# use empty material string for multi-material objects
# this will trigger use of MeshFaceMaterial in SceneLoader
material_string = ""
material_string = '""'
if len(material_ids) == 1:
material_string = generate_string_list(material_ids)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册