Asyncio loop kicked via modal operator.

The old way (using a scene_update_pre handler) turned out to work due to
a bug in Blender, where scene_update_pre was called too frequently.
This commit is contained in:
2016-03-23 13:45:28 +01:00
parent ed9821afa6
commit 09e9c02d65
2 changed files with 68 additions and 30 deletions

View File

@@ -77,14 +77,16 @@ def register():
from . import blender, gui, async_loop
async_loop.setup_asyncio_executor()
async_loop.register()
blender.register()
gui.register()
def unregister():
from . import blender, gui
from . import blender, gui, async_loop
gui.unregister()
blender.unregister()
async_loop.unregister()