Can't you remove the handler as part of the unregister routine?<div><br></div><div>--</div><div>Dalai<br><br><div class="gmail_quote">2012/2/24 "Martin Bürbaum" <span dir="ltr"><<a href="mailto:martin.buerbaum@gmx.at">martin.buerbaum@gmx.at</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is it possible to remove a modal handler from the window_manager when an add-on is disabled (and how/where)?<br>
<br>
the reason I'm asking is because I had the following roblem for a while now with the measure panel add-on:<br>
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. :-)<br>
<br>
Thanks in advance,<br>
Martin<br>
_______________________________________________<br>
Bf-python mailing list<br>
<a href="mailto:Bf-python@blender.org">Bf-python@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-python" target="_blank">http://lists.blender.org/mailman/listinfo/bf-python</a><br>
</blockquote></div><br></div>