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.
Other
1.99k stars 135 forks source link

TexTools for Blender wrong unregistration when using Reload Scripts operator #203

Closed Rawalanche closed 5 months ago

Rawalanche commented 6 months ago

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.

franMarz commented 6 months ago

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

franMarz commented 5 months ago

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