diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-20 08:42:09 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-20 08:42:09 +0300 |
commit | 72e99d918215ed549a84e360530fc99d1caf56a1 (patch) | |
tree | 057964a60409668339dfe38141106486b90fafae /source/blender/editors/animation/anim_ops.c | |
parent | 8e41a21607231b733ef0f5469be90ca4715e9afa (diff) |
KeyingSets: Added two operators which wrap the internal (blenkernel) KeyingSets API functions
These operators - ANIM_OT_keyingset_add_new() and ANIM_OT_keyingset_add_destination() - are designed for use from PyAPI or through some other means, and as such, have not been assigned any hotkeys.
They should only be used when all the relevant settings can be supplied to them, which in ideal circumstances would be through some script used by a rigger to define all the necessary Keying Sets for their rig for example.
Whether we will be building many of the utilities for the PyAPI like this remains to be seen.
Note: the second one doesn't work yet, as there are problems with accessing certain operator props.
Diffstat (limited to 'source/blender/editors/animation/anim_ops.c')
-rw-r--r-- | source/blender/editors/animation/anim_ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c index 3f69aeaf857..b51fa223eb3 100644 --- a/source/blender/editors/animation/anim_ops.c +++ b/source/blender/editors/animation/anim_ops.c @@ -382,6 +382,9 @@ void ED_operatortypes_anim(void) WM_operatortype_append(ANIM_OT_delete_keyframe); WM_operatortype_append(ANIM_OT_insert_keyframe_old); WM_operatortype_append(ANIM_OT_delete_keyframe_old); + + WM_operatortype_append(ANIM_OT_keyingset_add_new); + WM_operatortype_append(ANIM_OT_keyingset_add_destination); } void ED_keymap_anim(wmWindowManager *wm) |