diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-04-09 11:26:49 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-04-09 11:26:49 +0400 |
commit | a59ee83916bf8c38f138775be4a48b4d26bd07fc (patch) | |
tree | 2c1d72bceb9eb19954bcec4f05e8a0a458d96e04 /source/blender/editors/animation/anim_filter.c | |
parent | 41b82595806c29adc9b55a371cb9ee66a202422e (diff) |
Animation Editors - Bugfixes:
* Collapse selected channels should now work for most channels. It still doesn't work for Action Groups for some reason...
* Objects are now deemed to only be selected in Animation Editors if the are selected (i.e. if they are active but not selected, they are no longer considered to be selected)
* Outliner updates when scrubbing the TimeLine. As a consequence, anim playback with an Outliner open is a bit slower now.
Diffstat (limited to 'source/blender/editors/animation/anim_filter.c')
-rw-r--r-- | source/blender/editors/animation/anim_filter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index ea30fe83f35..f8bf3f08bde 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -869,7 +869,6 @@ static int animdata_filter_dopesheet_obdata (ListBase *anim_data, bDopeSheet *ad static int animdata_filter_dopesheet_ob (ListBase *anim_data, bDopeSheet *ads, Base *base, int filter_mode) { bAnimListElem *ale=NULL; - Scene *sce= (Scene *)ads->source; Object *ob= base->object; Key *key= ob_get_key(ob); int items = 0; @@ -877,7 +876,7 @@ static int animdata_filter_dopesheet_ob (ListBase *anim_data, bDopeSheet *ads, B /* add this object as a channel first */ if ((filter_mode & ANIMFILTER_CURVESONLY) == 0) { /* check if filtering by selection */ - if (ANIMCHANNEL_SELOK( ((base->flag & SELECT) || (base == sce->basact)) )) { + if ANIMCHANNEL_SELOK((base->flag & SELECT)) { ale= make_new_animlistelem(base, ANIMTYPE_OBJECT, NULL, ANIMTYPE_NONE, NULL); if (ale) { BLI_addtail(anim_data, ale); |