Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2019-11-01 16:31:35 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-11-01 16:31:35 +0300
commitf5b09ae034233471e239c964b193a0c4aeadc960 (patch)
tree1ac93284af843c98a967d69ae8aaf73057b44c9d /doc/python_api/examples/bpy.app.timers.4.py
parentc11d3c1b92081635ffc883973e5c86b17dd3e825 (diff)
parent1121e1f1a6215ecea76352295d39649662885433 (diff)
Merge branch 'blender-v2.81-release'
Diffstat (limited to 'doc/python_api/examples/bpy.app.timers.4.py')
-rw-r--r--doc/python_api/examples/bpy.app.timers.4.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/examples/bpy.app.timers.4.py b/doc/python_api/examples/bpy.app.timers.4.py
index 6cdee564bb5..c14bc15166c 100644
--- a/doc/python_api/examples/bpy.app.timers.4.py
+++ b/doc/python_api/examples/bpy.app.timers.4.py
@@ -5,8 +5,10 @@ Assign parameters to functions
import bpy
import functools
+
def print_message(message):
print("Message:", message)
+
bpy.app.timers.register(functools.partial(print_message, "Hello"), first_interval=2.0)
bpy.app.timers.register(functools.partial(print_message, "World"), first_interval=3.0)