franMarz / TexTools-Blender

TexTools is a UV and Texture toolset created several years ago for Blender and Max by @renderhjs. In this open repository, originally created by @SavMartin, we develop the current version of this popular Blender add-on.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TexTools for Blender wrong unregistration when using Reload Scripts operator

Rawalanche opened this issue · comments

I am a addon developer and I use TexTools. When developing addons, I often reload scripts. I need the command line log to be clean so that I can see where the issue is when reloading my updated script. TexTools does not correctly unregister it's addon modules prior to reload which results in extreme pollution of the command line:
image
This drowns any relevant messages in a big wall of text. I don't want to be disabling TexTools anytime I update my own scripts, especially since disabling addons in Blender usually destroys all the addon preferences, which have to be re-setup when reenabling the addon.

No other addon does this, so TexTools should not either. The command line log should remain clean after reloading addons.

I never saw that I don't know why. Could you confirm if this is now fixed in master with the latest commit?

I assume this is now fixed thanks to 5f0dc59, reopen otherwise.