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

@@ -6,6 +6,6 @@ import bpy
def every_2_seconds():
print("Hello World")
return 2
return 2.0
bpy.app.timers.register(every_2_seconds)