Add Chromium-only Blender WebEngine parity work
This commit is contained in:
13
blender-5.2.0/doc/python_api/examples/bpy.app.timers.2.py
Normal file
13
blender-5.2.0/doc/python_api/examples/bpy.app.timers.2.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
Run a Function every x Seconds
|
||||
------------------------------
|
||||
"""
|
||||
import bpy
|
||||
|
||||
|
||||
def every_2_seconds():
|
||||
print("Hello World")
|
||||
return 2.0
|
||||
|
||||
|
||||
bpy.app.timers.register(every_2_seconds)
|
||||
Reference in New Issue
Block a user