Blender Git Commit Log

Git Commits -> Revision 3a28a74

Revision 3a28a74 by Joshua Leung (master)
March 31, 2009, 22:36 (GMT)
Animato - Support for 'BuiltIn' and 'Relative' Keying Sets

When inserting keyframes in the 3D-View (support will be extended to other editors in due course) using the IKEY hotkey, the menu which appears will now consist of 3 parts:
* 'Active Keying Set' - this option allows you to use the user-defined KeyingSet which is active for the current scene (i.e. the one seen in the TimeLine/Outliner headers)
* User defined Keying Sets - a list of all such available KeyingSets is included, and entries can be chosen from there
* Built-In Keying Sets - see later...

To achieve this, several changes needed to be made first:
* Added support for 'relative' in addition to 'absolute' Keying Sets. Relative Keying Sets are Keying Sets which operate on data from the current context (i.e. a 'location' KeyingSet will add location keyframes for selected objects/bones/nodes as opposed to location keyframes for some particular object). The is a tentative 'templates' requirement system here, which still needs to be fully fleshed out.
* Added support for builtin Keying Sets (i.e. 'Location', 'Rotation', 'Scaling', and 'LocRot' as a few initial demonstrations), which replaces the temporary Insert Keyframe operator for the 3D-View (IKEY). These are effectively relative Keying Set definitions which are included in Blender by default and stored in a list separate from user-defined ones. Volunteer help in defining a few more of these for other editors will be welcome soon.
* Removed/replaced much of the crappy temporary Keyframing operator code, though a few tweaks could still be done.

Commit Details:

Full Hash: 3a28a7450596f46281431bd163b9a237eb481055
SVN Revision: 19486
Parent Commit: 4861ddf
Lines Changed: +560, -448

11 Modified Paths:

/source/blender/blenkernel/BKE_constraint.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+4, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+20, -4) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+6, -5) (Diff)
/source/blender/editors/animation/anim_ops.c (+3, -2) (Diff)
/source/blender/editors/animation/keyframing.c (+511, -430) (Diff)
/source/blender/editors/include/ED_keyframing.h (+7, -3) (Diff)
/source/blender/editors/object/object_ops.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021