mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
cmake & pep8 tidy up, also some style edits.
remove unneeded collection length function.
This commit is contained in:
parent
95948d0e0e
commit
f086201518
26 changed files with 101 additions and 97 deletions
|
|
@ -15,6 +15,6 @@ from bpy.app.handlers import persistent
|
|||
|
||||
@persistent
|
||||
def load_handler(dummy):
|
||||
print("Load Handler:", bpy.data.filepath)
|
||||
print("Load Handler:", bpy.data.filepath)
|
||||
|
||||
bpy.app.handlers.load_post.append(load_handler)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue