diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-01-02 20:12:33 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-01-02 20:14:59 +0300 |
commit | a854840e76ae3e0724531524e8b1d7a4cd63ea1d (patch) | |
tree | b7cf40953a9c025811ed105dc009cef0a26373e0 /source/blender/editors/animation/anim_filter.c | |
parent | 311178fcf275846d63d2801b6521082396133f6e (diff) |
Fix T57111: Particle texture keyframes missing from Graph Editor
The entire particle system was skipped when the particle system itself did
not have any animation data. This caused the animation data on the texture
to be skipped.
Diffstat (limited to 'source/blender/editors/animation/anim_filter.c')
-rw-r--r-- | source/blender/editors/animation/anim_filter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index f73c8a5b71a..dd1f2758d58 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -2433,8 +2433,9 @@ static size_t animdata_filter_ds_particles( ListBase tmp_data = {NULL, NULL}; size_t tmp_items = 0; - /* if no material returned, skip - so that we don't get weird blank entries... */ - if (ELEM(NULL, psys->part, psys->part->adt)) { + /* Note that when psys->part->adt is NULL the textures can still be + * animated. */ + if (psys->part == NULL) { continue; } |