Blender Git Commit Log
Git Commits -> Revision 34baf51
Revision 34baf51 by Joshua Leung (master) December 26, 2008, 10:55 (GMT) |
2.5 - Action Editor: All Keyframe Selection Tools Ported User Notes (for using tools whose behaviour has changed): * Mouse Selection Tools: 1) Click on keyframe to modify its selection. Holding the 'Shift' modifier when doing so, will result in keyframe selection being toggled instead of replacing existing selections. 2) Click on either side of the current frame indicator while holding the 'Alt' modifier. This will select only all the keyframes on the relevant side of the current frame indicator. 3) Click on a keyframe while holding the 'Ctrl' modifier. This will select all the keyframes that fall on that frame. * Borderselect Tools 1) BKEY selects all the keyframes within the specified range (as per normal) 2) ALT-BKEY will select either all the keyframes in the frame-range specified or the channel range specified, depending on which axis of the select region was larger. This method is prejudiced towards frame-range selection. Code Notes: * Finished porting over all of the remaining keyframe selection tools, and recoded the ported ones to make them easier to use (after running into some technical limitations) * Simplified the way to check if 'animation context' is valid by moving a necessary check into that function. * Refactored internal keyframe-looping tools to reduce the amount of code needed per tool to edit keyframes, removing a lot of the unnecessary bulk. Now, the ipo/icu_keys_bezier_loop functions recieve a few more arguments (1st arg is pointer to generic customdata, and another defines a validation callback which makes it easier to reuse some of the select callbacks). * Added 'totrect' adjustment for number of channels being shown in Action Editor, so that scrolling will be limited to where there is data (and also so that scroller displays more relevant context info). For this to work, filtering channels now returns the number of channels extracted. This may come into use for other tools if there's such a need. * I still need to port over some code for markers, which is required for some of the tools which use them. For now, those tools do nothing. * Grease-Pencil editing mode in Action Editor is currently non-functional (code is commented out due to missing dependencies). This is currently pending the re-implementation of Grease Pencil in 2.5 |
Commit Details:
Full Hash: 34baf51dcb730319a2cbb807f905571475b24e9a
SVN Revision: 18069
Parent Commit: 1dbbffb
Lines Changed: +764, -347
10 Modified Paths:
/source/blender/editors/animation/anim_filter.c (+9, -5) (Diff)
/source/blender/editors/animation/keyframes_edit.c (+110, -81) (Diff)
/source/blender/editors/include/ED_anim_api.h (+7, -8) (Diff)
/source/blender/editors/include/ED_keyframes_edit.h (+33, -8) (Diff)
/source/blender/editors/space_action/action_draw.c (+37, -2) (Diff)
/source/blender/editors/space_action/action_intern.h (+21, -0) (Diff)
/source/blender/editors/space_action/action_ops.c (+12, -1) (Diff)
/source/blender/editors/space_action/action_select.c (+533, -238) (Diff)
/source/blender/editors/space_action/space_action.c (+2, -2) (Diff)
/source/blender/editors/space_ipo/space_ipo.c (+0, -2) (Diff)
/source/blender/editors/animation/keyframes_edit.c (+110, -81) (Diff)
/source/blender/editors/include/ED_anim_api.h (+7, -8) (Diff)
/source/blender/editors/include/ED_keyframes_edit.h (+33, -8) (Diff)
/source/blender/editors/space_action/action_draw.c (+37, -2) (Diff)
/source/blender/editors/space_action/action_intern.h (+21, -0) (Diff)
/source/blender/editors/space_action/action_ops.c (+12, -1) (Diff)
/source/blender/editors/space_action/action_select.c (+533, -238) (Diff)
/source/blender/editors/space_action/space_action.c (+2, -2) (Diff)
/source/blender/editors/space_ipo/space_ipo.c (+0, -2) (Diff)