STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
270
游戏中
1,714
在线
成立于
2013 年 11 月 8 日
所有讨论 > Bug Reports > 主题详情
Italic 2013 年 12 月 3 日 上午 2:06
[FIXED] io_smd_tools.py gives bad performance (no bl_info)
I just want to bring this to the attention of whoever develops io_smd_tools. This error is caused by not having bl_info in the file. I am asking for this to be fixed upstream because the error is absurdly annoying when I have to look at console output, only to be drowned out by "bad performance" errors for this single file. I have no issue editing the file myself, but it would be good if maintainers could fix this for good.
最后由 Artfunkel 编辑于; 2013 年 12 月 4 日 上午 6:30
< >
正在显示第 1 - 5 条,共 5 条留言
Artfunkel 2013 年 12 月 3 日 下午 12:46 
io_smd_tools.py in the old filename of the tools, back when the whole thing was just one file.

The only job it has these days is deleting itself so that you can't have two versions installed. That's initialised at io_scene_valvesource\__init__.py line 38. Is that script not running?
Italic 2013 年 12 月 3 日 下午 1:52 
I didn't realize that was supposed to happen. My symlink to the file was deleted, so it is functioning properly. Perhaps remove it from the download and check/remove existing files? Or make a release note explaining the removal of the file. I didn't see any notes in the changelog regarding the old addon.

Thanks for the clarification. I have been keeping a copy stored in addons_extern[github.com], so I just removed that file entirely with a commit note.

I also wouldn't have the script save user prefs without consent. It should be entirely in the user's control, and that script took that away. I believe a changelog note would be best, considering it's in bold on the website.
Artfunkel 2013 年 12 月 3 日 下午 2:57 
There was a changelog note...it was just ages ago. :-)

It's a fair point about saving user prefs. I want to save the old add-on being disabled, but of course any other changes are saved too. I'll just remove the save call; in most cases the user will do it themselves anyway. The worst that will happen is a "missing add-on" warning on the prefs screen.
Artfunkel 2013 年 12 月 4 日 上午 6:30 
I've rewritten the whole system to avoid having io_smd_tools.py in the first place.
Italic 2013 年 12 月 6 日 上午 12:02 
Awesome. Thanks. I'm sure it will help save some confusion for new users as well. I know I could have just deleted the file myself, but I appreciate your work in making it a little more user friendly.
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50

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