Blender Git Commit Log

Git Commits -> Revision 4ae515a

Revision 4ae515a by Joshua Leung (master)
March 23, 2010, 11:59 (GMT)
Keying Sets: BuiltIn vs Absolute Tweaks

This commit clarifies the somewhat "murky" separation between "builtin" and "absolute" KeyingSets as a result of discussions with Cessen.

* "Builtin" Keying Sets are now just the Keying Sets which in the past have been known as PyKeyingSets or Relative KeyingSets. These are registered from Py Scripts at startup, and will use the context info to determine what data they should be keyframing. These are stored per Blender session, independent of files, since usually these will be coded specific to sets of rigs used at a studio.

* "Absolute" Keying Sets are the ones that you can create from the Scene buttons and/or KKEY or RMB over any property. They specify the exact set of properties which should always get keyframed together. These are stored in the scene.

In relation to this, I've made it possible to now set one of the builtin Keying Set types as the active Keying Set.
* For now, this can only be done via the box beside the insert/delete key operator buttons on the TimeLine header (now complete with an recycled icon - HINT TO ICON DESIGNERS, to make this a bit more obvious). Later on I'll commit an operator to set this via a hotkey.
* The "IKEY" menu will only show up when there is no active Keying Set. When there is one, keying will happen silently (with info notice at the top of the screen). Later on, I'll hook this menu up to a hotkey, so that that active Keying Set can be changed without inserting keyframes or clearing active Keying Set...
* By default, there isn't any default Keying Set enabled. IMO, this is probably a good default, though some might like to have LocRotScale instead.
* I'm not terribly impressed with the search menu for the items being SORTED (and of all things, alphabetically!) currently, since this does break muscle-memory with the menu (and jumbles up order of closely related vs not closely related).
* The Scene buttons for KeyingSets still need some changes to fully cope with users setting builtin KeyingSets as active sometimes. Controls which are useless or shouldn't be used when a builtin set is shown are being shown.

Builtin set registrations have been tweaked a bit:
* Renamed "bl_idname" to "bl_label" for consistency with rest of API. Note that this is the identifier used by Blender internally when searching for the KeyingSet, and is also what the user sees.

Commit Details:

Full Hash: 4ae515a4e53096df7b0ee27ca57cd148ccbdccd9
SVN Revision: 27673
Parent Commit: d2225ed
Lines Changed: +116, -86

8 Modified Paths:

/release/scripts/keyingsets/keyingsets_builtins.py (+11, -22) (Diff)
/release/scripts/ui/properties_scene.py (+0, -1) (Diff)
/release/scripts/ui/space_time.py (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+12, -7) (Diff)
/source/blender/editors/animation/keyingsets.c (+40, -20) (Diff)
/source/blender/editors/include/ED_keyframing.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_animation.c (+4, -8) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+45, -25) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021