Blender Git Commit Log

Git Commits -> Revision ca0b543

Revision ca0b543 by Joshua Leung (master)
January 3, 2011, 05:36 (GMT)
Keyframing Operator Code Cleanup:

Keyframing operators now use a dynamically-generated enum for their
"type" property, which determines the Keying Set to use for keyframing
instead of the obscure "index" values which were determined
internally. Internally though, these same indices are still being used
:)

Notes:
- I've kept the menu-building function and the special "menu" operator
for now, since it's better to not "pollute" the actual insert
keyframes operator with hardcoded menu-showing logic. Instead, the
menu operator does that, so that if you like, you could write another
such wrapper that works differently.
- The 'type' properties could have the PROP_HIDDEN flags removed,
though I think it's cleaner to leave these without this option for
now.

Commit Details:

Full Hash: ca0b5434fa0f729df57557ff1ec369c9118e2f63
SVN Revision: 34021
Parent Commit: 1ba9dde
Lines Changed: +92, -18

3 Modified Paths:

/source/blender/editors/animation/keyframing.c (+26, -18) (Diff)
/source/blender/editors/animation/keyingsets.c (+62, -0) (Diff)
/source/blender/editors/include/ED_keyframing.h (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021