Action Group Colors for Bones (Part 2)
authorJoshua Leung <aligorith@gmail.com>
Fri, 1 Jun 2012 13:54:44 +0000 (13:54 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 1 Jun 2012 13:54:44 +0000 (13:54 +0000)
commit1ced3560099b66d70399b4a5cfbb343b36562979
treed2927d8f403e2cb7a0526f40068d4e8873db5c48
parent719b3e26e768f03990be95e07f588b84deef9caa
Action Group Colors for Bones (Part 2)

Colors used by Bone Groups are now copied/assigned to Action Groups too when
they're created now. This completes the work started in r.46960 to restore this
functionality from 2.48.

Currently, there is no control over when/whether these colors are copied over
(although it is possible to disable the display of these colors for relevant
animation editors if desired). Originally I was going to make this a more
generic Keying Sets feature, though that turned out to be a bit too complex to
manage.

Other notes:
* Split out the code for copying colors to a common library function
source/blender/blenkernel/BKE_action.h
source/blender/blenkernel/intern/action.c
source/blender/editors/animation/anim_channels_defines.c
source/blender/editors/animation/keyframes_general.c
source/blender/editors/animation/keyframing.c
source/blender/editors/include/ED_keyframing.h
source/blender/editors/object/object_relations.c
source/blender/makesrna/intern/rna_action.c
source/blender/makesrna/intern/rna_pose.c