feat: get drawing code back
This commit is contained in:
parent
b046062474
commit
3d8f3465f4
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user