[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13952] trunk/blender/source/blender/src/ editaction.c: Bugfix:

Joshua Leung aligorith at gmail.com
Mon Mar 3 11:43:46 CET 2008


Revision: 13952
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13952
Author:   aligorith
Date:     2008-03-03 11:43:46 +0100 (Mon, 03 Mar 2008)

Log Message:
-----------
Bugfix:

Constraint Channel keyframes are now transformed when they appear in Action Channel Group summaries.

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

Modified: trunk/blender/source/blender/src/editaction.c
===================================================================
--- trunk/blender/source/blender/src/editaction.c	2008-03-03 10:01:36 UTC (rev 13951)
+++ trunk/blender/source/blender/src/editaction.c	2008-03-03 10:43:46 UTC (rev 13952)
@@ -332,8 +332,11 @@
 			}
 			
 			/* check if expanded - if not, continue on to next action channel */
-			if (EXPANDED_ACHAN(achan) == 0 && (filter_mode & ACTFILTER_ONLYICU)==0) 
-				return;
+			if (EXPANDED_ACHAN(achan) == 0 && (filter_mode & ACTFILTER_ONLYICU)==0) {
+				/* only exit if we don't need to include constraint channels for group-channel keyframes */
+				if ( !(filter_mode & ACTFILTER_IPOKEYS) || (achan->grp == NULL) || (EXPANDED_AGRP(achan->grp)==0) )
+					return;
+			}
 				
 			/* ipo channels */
 			if ((achan->ipo) && (filter_mode & ACTFILTER_IPOKEYS)==0) {





More information about the Bf-blender-cvs mailing list