[Bf-committers] Unregistering UI panel

Brecht Van Lommel brechtvanlommel at pandora.be
Thu Oct 25 22:06:30 CEST 2012

It's a bit difficult to guess what is going on without seeing the
actual python code. But perhaps take a look at the UI Panel template
scripts in the text editor, they seem to work ok in this situation.


On Thu, Oct 25, 2012 at 9:48 PM, Tobias Oelgarte
<tobias.oelgarte at googlemail.com> wrote:
> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list