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.

Brecht.

On Thu, Oct 25, 2012 at 9:48 PM, Tobias Oelgarte
<[email protected]> 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
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to