Revision: 14151
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14151
Author: blendix
Date: 2008-03-17 14:02:48 +0100 (Mon, 17 Mar 2008)
Log Message:
-----------
Bugfix: keyframes of hidden actions in action groups were still
drawing in the group row.
Modified Paths:
--------------
trunk/blender/source/blender/src/drawaction.c
Modified: trunk/blender/source/blender/src/drawaction.c
===================================================================
--- trunk/blender/source/blender/src/drawaction.c 2008-03-17 12:27:17 UTC
(rev 14150)
+++ trunk/blender/source/blender/src/drawaction.c 2008-03-17 13:02:48 UTC
(rev 14151)
@@ -1508,14 +1508,16 @@
if (agrp) {
/* loop through action channels */
for (achan= agrp->channels.first; achan && achan->grp==agrp;
achan= achan->next) {
- /* firstly, add keys from action channel's ipo block */
- if (achan->ipo)
- ipo_to_keylist(achan->ipo, keys, blocks, aki);
-
- /* then, add keys from constraint channels */
- for (conchan= achan->constraintChannels.first; conchan;
conchan= conchan->next) {
- if (conchan->ipo)
- ipo_to_keylist(conchan->ipo, keys,
blocks, aki);
+ if(VISIBLE_ACHAN(achan)) {
+ /* firstly, add keys from action channel's ipo
block */
+ if (achan->ipo)
+ ipo_to_keylist(achan->ipo, keys,
blocks, aki);
+
+ /* then, add keys from constraint channels */
+ for (conchan= achan->constraintChannels.first;
conchan; conchan= conchan->next) {
+ if (conchan->ipo)
+ ipo_to_keylist(conchan->ipo,
keys, blocks, aki);
+ }
}
}
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs