diff options
Diffstat (limited to 'doc/python_api/examples/bpy.app.handlers.py')
-rw-r--r-- | doc/python_api/examples/bpy.app.handlers.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.app.handlers.py b/doc/python_api/examples/bpy.app.handlers.py index 7c176063b7c..57b209e15f0 100644 --- a/doc/python_api/examples/bpy.app.handlers.py +++ b/doc/python_api/examples/bpy.app.handlers.py @@ -6,7 +6,8 @@ This script shows the most simple example of adding a handler. import bpy + def my_handler(scene): - print("Frame Change", scene.frame_current) + print("Frame Change", scene.frame_current) -bpy.app.handlers.frame_change_pre.append(my_handler)
\ No newline at end of file +bpy.app.handlers.frame_change_pre.append(my_handler) |