diff options
Diffstat (limited to 'doc/python_api/examples/bpy.app.handlers.py')
-rw-r--r-- | doc/python_api/examples/bpy.app.handlers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.app.handlers.py b/doc/python_api/examples/bpy.app.handlers.py index 02b00bf2fbc..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) |