feat: get drawing code back

This commit is contained in:
swann 2019-05-01 19:34:42 +02:00
parent b046062474
commit 3d8f3465f4
No known key found for this signature in database
GPG Key ID: C183114A66D84A20

View File

@ -186,7 +186,6 @@ def draw_tick():
drawer.draw() drawer.draw()
refresh_window()
# Upload # Upload
upload_client_instance_position() upload_client_instance_position()
@ -210,7 +209,7 @@ def sync():
def register_ticks(): def register_ticks():
# REGISTER Updaters # REGISTER Updaters
# bpy.app.timers.register(draw_tick) bpy.app.timers.register(draw_tick)
bpy.app.timers.register(sync) bpy.app.timers.register(sync)
bpy.app.timers.register(default_tick) bpy.app.timers.register(default_tick)
@ -219,7 +218,7 @@ def unregister_ticks():
# REGISTER Updaters # REGISTER Updaters
global drawer global drawer
drawer.unregister_handlers() drawer.unregister_handlers()
# bpy.app.timers.unregister(draw_tick) bpy.app.timers.unregister(draw_tick)
bpy.app.timers.unregister(default_tick) bpy.app.timers.unregister(default_tick)