STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
380
IN-GAME
2,044
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
Italic 3 Dec, 2013 @ 2:06am
[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.
Last edited by Artfunkel; 4 Dec, 2013 @ 6:30am
< >
Showing 1-5 of 5 comments
Artfunkel 3 Dec, 2013 @ 12:46pm 
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 3 Dec, 2013 @ 1:52pm 
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 3 Dec, 2013 @ 2:57pm 
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 4 Dec, 2013 @ 6:30am 
I've rewritten the whole system to avoid having io_smd_tools.py in the first place.
Italic 6 Dec, 2013 @ 12:02am 
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.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details