diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-02-13 12:46:08 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-02-13 12:46:08 +0300 |
commit | 8817fb93c4f3e9a2475421fcdf24c1a2ee7831a0 (patch) | |
tree | 523135c2c222e8958d4aff1c5f97c9b168dd4dc2 /source/blender/editors/space_time/time_header.c | |
parent | c8f04eba487ea43eaf1c8658eccd53711f2760bf (diff) |
Keying Sets: Insert/Delete Keyframe Operator Buttons
* Insert/Delete keyframe buttons in the TimeLine work again. These now use two new operators which only insert keyframes for the active Keying Set.
* Renamed the old insert/delete keyframe operators. These now have the "*_old" postfix on their names. What happens with these temp operators is yet to be seen.
* Added insert/delete keyframe buttons beside the operator buttons for Keying Sets in the Outliner->Datablocks view
Diffstat (limited to 'source/blender/editors/space_time/time_header.c')
-rw-r--r-- | source/blender/editors/space_time/time_header.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/space_time/time_header.c b/source/blender/editors/space_time/time_header.c index 38c0f2dfc1d..8e61bb7ff4b 100644 --- a/source/blender/editors/space_time/time_header.c +++ b/source/blender/editors/space_time/time_header.c @@ -550,11 +550,9 @@ void time_header_buttons(const bContext *C, ARegion *ar) MEM_freeN(menustr); xco+= (6*XIC); - uiDefIconBut(block, BUT, B_TL_DELETEKEY, ICON_KEY_DEHLT, - xco, yco, XIC, YIC, 0, 0, 0, 0, 0, "Delete Keyframe for the context of the largest area (ALTKEY-IKEY)"); + uiDefIconButO(block, BUT, "ANIM_OT_delete_keyframe", WM_OP_INVOKE_REGION_WIN, ICON_KEY_DEHLT, xco,yco,XIC,YIC, "Delete Keyframes for the Active Keying Set (Alt-I)"); xco+= XIC+4; - uiDefIconBut(block, BUT, B_TL_INSERTKEY, ICON_KEY_HLT, - xco, yco, XIC, YIC, 0, 0, 0, 0, 0, "Insert Keyframe for the context of the largest area (IKEY)"); + uiDefIconButO(block, BUT, "ANIM_OT_insert_keyframe", WM_OP_INVOKE_REGION_WIN, ICON_KEY_HLT, xco,yco,XIC,YIC, "Insert Keyframes for the Active Keying Set (I)"); xco+= XIC+4; xco+= 16; |