STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
290
游戏中
1,852
在线
成立于
2013 年 11 月 8 日
所有讨论 > Bug Reports > 主题详情
Mr L 2017 年 4 月 19 日 下午 11:53
error when using bpy.ops.import_scene.smd(filename=f)
Some troubles having encoding == None in
io_scene_valvesource/utils.py::90

fixed it

from
builtins.print(" ".join([str(a) for a in args]).encode(sys.getdefaultencoding()).decode(sys.stdout.encoding), end= "\n" if newline else "", flush=True)

to
builtins.print(
" ".join([str(a) for a in args]).encode(
sys.getdefaultencoding()).decode(
sys.stdout.encoding if sys.stdout.encoding != None else "UTF-8"),
end= "\n" if newline else "", flush=True)

Using last updated version, windows 10 blender 2.78
最后由 Mr L 编辑于; 2017 年 4 月 19 日 下午 11:55
< >
正在显示第 1 - 1 条,共 1 条留言
Artfunkel 2017 年 4 月 22 日 上午 7:13 
Thanks, I've pushed this fix to the Git repo. It'll be in the next release.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50

所有讨论 > Bug Reports > 主题详情