diff options
Diffstat (limited to 'doc/python_api/examples/bpy.app.timers.3.py')
-rw-r--r-- | doc/python_api/examples/bpy.app.timers.3.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.app.timers.3.py b/doc/python_api/examples/bpy.app.timers.3.py index 79daf6a7740..a738f9ca01c 100644 --- a/doc/python_api/examples/bpy.app.timers.3.py +++ b/doc/python_api/examples/bpy.app.timers.3.py @@ -6,6 +6,7 @@ import bpy counter = 0 + def run_10_times(): global counter counter += 1 @@ -14,4 +15,5 @@ def run_10_times(): return None return 0.1 + bpy.app.timers.register(run_10_times) |