diff options
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_filter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index c82615eded4..da2a779f3a8 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -1359,7 +1359,7 @@ static size_t animdata_filter_ds_textures (bAnimContext *ac, ListBase *anim_data size_t tmp_items = 0; /* for now, if no texture returned, skip (this shouldn't confuse the user I hope) */ - if (ELEM(NULL, tex, tex->adt)) + if (tex == NULL) continue; /* add texture's animation data to temp collection */ @@ -1753,6 +1753,7 @@ static size_t animdata_filter_dopesheet_ob (bAnimContext *ac, ListBase *anim_dat } END_ANIMFILTER_SUBCHANNELS; + /* if we collected some channels, add these to the new list... */ if (tmp_items) { /* firstly add object expander if required */ |