[Bf-committers] Unregistering UI panel

Tobias Oelgarte tobias.oelgarte at googlemail.com
Thu Oct 25 21:48:07 CEST 2012


Hello,

i started to write an addon and it needs a lot of testing. But every 
time I'm running my script it adds an additional panel to the UI. 
Unregistering the panel seams only to work if i let my script to be 
loaded as an addon. But how can i remove my added panel(s) if I'm 
running this script for the second time or from another script? Using 
bpy.utils.unregister_class(ClassName) seams not to work in this case, 
because it is treaded as something different.

Greetings from
Tobias Oelgarte


More information about the Bf-committers mailing list