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:
authorCampbell Barton <ideasman42@gmail.com>2011-11-08 05:32:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-08 05:32:34 +0400
commitf086201518b85f6dd2ae60ae37dc14f1d1406c01 (patch)
treed2b4a030367688f28324dd9a8ddfa7c5591d9582 /doc/python_api/examples/bpy.app.handlers.py
parent95948d0e0e1e3308b8449486f676ca1663afe124 (diff)
cmake & pep8 tidy up, also some style edits.
remove unneeded collection length function.
Diffstat (limited to 'doc/python_api/examples/bpy.app.handlers.py')
-rw-r--r--doc/python_api/examples/bpy.app.handlers.py3
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)