Blender Git Commit Log

Git Commits -> Revision 5eef937

Revision 5eef937 by Campbell Barton (master)
November 3, 2011, 09:13 (GMT)
modify previous api feature to tag functions as permanent, use nicer decorator style, eg:


# --------

import bpy
from bpy.app.handlers import persistent

@persistent
def my_func(scene):
pass

bpy.app.handlers.frame_change_pre.append(my_func)

Commit Details:

Full Hash: 5eef9374362eb1089f08d4ab5f397843d2301d7a
SVN Revision: 41487
Parent Commit: e2393d1
Lines Changed: +63, -39

2 Modified Paths:

/release/scripts/modules/bpy/__init__.py (+2, -0) (Diff)
/source/blender/python/intern/bpy_app_handlers.c (+61, -39) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021