cmake & pep8 tidy up, also some style edits.
remove unneeded collection length function.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user