[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14151] trunk/blender/source/blender/src/ drawaction.c:
Brecht Van Lommel
brechtvanlommel at pandora.be
Mon Mar 17 14:02:48 CET 2008
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);
+ }
}
}
}
More information about the Bf-blender-cvs
mailing list