Cleanup: pep8

This commit is contained in:
2021-07-06 12:05:27 +10:00
parent 36584bbc2d
commit 432bfbf7a3
48 changed files with 89 additions and 46 deletions

View File

@@ -16,10 +16,12 @@ execution_queue = queue.Queue()
def run_in_main_thread(function):
execution_queue.put(function)
def execute_queued_functions():
while not execution_queue.empty():
function = execution_queue.get()
function()
return 1.0
bpy.app.timers.register(execute_queued_functions)