diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-03 10:53:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-03 10:53:52 +0400 |
commit | e2393d11090765caf987e5ef8e2e688d80c0e64d (patch) | |
tree | 2aa909746eb9c11fb47c60740f80fb197384565b /release | |
parent | 7d7977658ad12a940597da5b78ce70e4e5081f4b (diff) |
ability to have permanent callbacks that stay active when new blend files are loaded.
this works by tagging functions, eg:
def my_func(scene):
pass
bpy.app.handlers.permanent_tag(my_func, True) # <-- important bit
bpy.app.handlers.frame_change_pre.append(my_func)
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions