Add Chromium-only Blender WebEngine parity work
This commit is contained in:
15
blender-5.2.0/doc/python_api/examples/bpy.app.handlers.0.py
Normal file
15
blender-5.2.0/doc/python_api/examples/bpy.app.handlers.0.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""
|
||||
Basic Handler Example
|
||||
+++++++++++++++++++++
|
||||
|
||||
This script shows the most simple example of adding a handler.
|
||||
"""
|
||||
|
||||
import bpy
|
||||
|
||||
|
||||
def my_handler(scene):
|
||||
print("Frame Change", scene.frame_current)
|
||||
|
||||
|
||||
bpy.app.handlers.frame_change_pre.append(my_handler)
|
||||
Reference in New Issue
Block a user