提交 e7829ee9 编写于 作者: A alteredq

Added workaround to OBJ converter for cross-OS path separator incompatibilities.

See discussion at issue #1165
上级 66ad3492
......@@ -353,7 +353,7 @@ def veckey3(v):
# MTL parser
# #####################################################
def texture_relative_path(fullpath):
texture_file = os.path.basename(fullpath)
texture_file = os.path.basename(fullpath.replace("\\", "/"))
return texture_file
def parse_mtl(fname):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册