Fixing several issues with keyingsets:
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 8 Mar 2012 14:04:06 +0000 (14:04 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 8 Mar 2012 14:04:06 +0000 (14:04 +0000)
commita80b7d612947e1d26b10165a37bb603dae527afd
tree7a575b2f99b093e43d50d9322f8d1c50477b0fa6
parenta5f2db9992327764126ee7f275294d1f0699a26a
Fixing several issues with keyingsets:
*Add a new idname to keyingsets, keeping name as label-only (using same string for both made lookup fail when using i18n other than english, as it tried to compare an untranslated static string id against a translated RNA name). Also adding a description string (can be helpful with custom keyingsets, imho).
*Fixed a few other bugs related to that area (namely, you can’t deselect current keyingset from the shift-ctrl-alt-I popup menu, and insert/delete key ops were using a rather strange way to get chosen custom keyingset…).
*Fixed UI code so that it always uses (RNA) enum, and simplified menu-creation code.
13 files changed:
release/scripts/startup/bl_operators/anim.py
release/scripts/startup/bl_ui/properties_scene.py
release/scripts/startup/keyingsets_builtins.py
source/blender/blenkernel/BKE_animsys.h
source/blender/blenkernel/intern/anim_sys.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/animation/keyframing.c
source/blender/editors/animation/keyingsets.c
source/blender/editors/include/ED_keyframing.h
source/blender/editors/space_outliner/outliner_edit.c
source/blender/makesdna/DNA_anim_types.h
source/blender/makesrna/intern/rna_animation.c
source/blender/makesrna/intern/rna_scene.c