Revision: 14583
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14583
Author:   aligorith
Date:     2008-04-28 02:51:31 +0200 (Mon, 28 Apr 2008)

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

Modified Paths:
--------------
    trunk/blender/source/blender/src/poselib.c

Modified: trunk/blender/source/blender/src/poselib.c
===================================================================
--- trunk/blender/source/blender/src/poselib.c  2008-04-28 00:40:38 UTC (rev 
14582)
+++ trunk/blender/source/blender/src/poselib.c  2008-04-28 00:51:31 UTC (rev 
14583)
@@ -374,8 +374,9 @@
                /* 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)


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to