Adding new poses to a PoseLib also creates Action Groups in the PoseLib, just like for keyframing.

This commit is contained in:
Joshua Leung
2008-04-28 00:51:31 +00:00
parent 1b45506f0a
commit 961d8c5cd4

View File

@@ -374,8 +374,9 @@ void poselib_add_current_pose (Object *ob, int val)
/* check if available */
if ((pchan->bone) && (arm->layer & pchan->bone->layer)) {
if (pchan->bone->flag & (BONE_SELECTED|BONE_ACTIVE)) {
/* make action-channel if needed */
/* make action-channel if needed (action groups are also created) */
achan= verify_action_channel(act, pchan->name);
verify_pchan2achan_grouping(act, pose, pchan->name);
/* make ipo if needed... */
if (achan->ipo == NULL)