提交 f02f0576 编写于 作者: A alteredq

Fixed broken material names generation in OBJ converter.

上级 e546ae3c
......@@ -638,7 +638,7 @@ def generate_color(i):
return "0x%06x" % int(0xffffff * random.random())
def value2string(v):
if type(v)==str and v[0] != "0":
if type(v)==str and v[0:2] != "0x":
return '"%s"' % v
return str(v)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册