Docs: use float in bpy.app.timer examples

Makes it clear seconds are not integers,
also avoids conversion to float.
This commit is contained in:
2018-11-28 06:09:42 +11:00
parent e9875fc82c
commit 0ed4cadf5a
3 changed files with 4 additions and 4 deletions

View File

@@ -20,6 +20,6 @@ def execute_queued_functions():
while not execution_queue.empty():
function = execution_queue.get()
function()
return 1
return 1.0
bpy.app.timers.register(execute_queued_functions)