My addon needs just one button currently and I'd like it to work as a start/stop button. But on every button press Blender creates a new instance of the corresponding
bpy.types.Operator thus losing any connection to already created ones to stop them. What are the ways (if any) to circumvent this behaviour? How to make bpy.types.Panel button work with the same instance of operator?
The addon in question is
accelblend, intended to receive accelerometer data and rotate view accordingly. The operator is modular and keeps running in the background just fine. Source: http://bazaar.launchpad.net/~xintx-ua/+junk/accelblend/view/head:/accelblend_receiver.py