diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-04-28 11:38:06 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-04-28 11:38:06 +0400 |
commit | 945527549024f7ba6a1cc185b30a103e293376ce (patch) | |
tree | fb09e12e4e612282a01eb65d84fe84329cba701a /source/blender/include | |
parent | cf84cf5f211475dc72cffe0ebba85e2ad91fee6b (diff) |
== Action Editor - Action Groups finishing touches ==
* Added a new tool "Synchronise with Armature" (found under Channels->Grouping), which synchronises the grouping of action-channels and the grouping of their relevant bones.
This only works when the active object is an armature, and the action isn't pinned. All of the action's action-channels are removed from their groups, and are added back into groups according to the current grouping of their corresponding bones.
A bit of testing for weird cases is needed.
* Group colours are now not drawn if the group originally was using the 'default' colour-set.
Diffstat (limited to 'source/blender/include')
-rw-r--r-- | source/blender/include/BIF_editaction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BIF_editaction.h b/source/blender/include/BIF_editaction.h index 0bd869d2923..e2e813f35bd 100644 --- a/source/blender/include/BIF_editaction.h +++ b/source/blender/include/BIF_editaction.h @@ -141,7 +141,8 @@ void paste_actdata(void); /* Group/Channel Operations */ struct bActionGroup *get_active_actiongroup(struct bAction *act); void set_active_actiongroup(struct bAction *act, struct bActionGroup *agrp, short select); -void verify_pchan2achan_grouping(struct bAction *act, struct bPose *pose, char name[]); +void verify_pchan2achan_grouping(struct bAction *act, struct bPose *pose, char name[]); +void sync_pchan2achan_grouping(void); void action_groups_group(short add_group); void action_groups_ungroup(void); |