[Bf-python] Remove a modal handler from the window manager

Dalai Felinto dfelinto at gmail.com
Fri Feb 24 15:58:41 CET 2012


Can't you remove the handler as part of the unregister routine?

--
Dalai

2012/2/24 "Martin Bürbaum" <martin.buerbaum at gmx.at>

> Is it possible to remove a modal handler from the window_manager when an
> add-on is disabled (and how/where)?
>
> the reason I'm asking is because I had the following roblem for a while
> now with the measure panel add-on:
> When I disable the add-on the modal handler for drawing is still there
> (and being executed). I could cheat and simply not let it draw anything,
> but a clean solution would be the best. :-)
>
> Thanks in advance,
> Martin
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20120224/57d30353/attachment.html>


More information about the Bf-python mailing list