[Bf-blender-cvs] [a854840e76a] master: Fix T57111: Particle texture keyframes missing from Graph Editor

Sybren A. Stüvel noreply at git.blender.org
Thu Jan 2 18:15:39 CET 2020


Commit: a854840e76ae3e0724531524e8b1d7a4cd63ea1d
Author: Sybren A. Stüvel
Date:   Thu Jan 2 18:12:33 2020 +0100
Branches: master
https://developer.blender.org/rBa854840e76ae3e0724531524e8b1d7a4cd63ea1d

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.

===================================================================

M	source/blender/editors/animation/anim_filter.c

===================================================================

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;
     }



More information about the Bf-blender-cvs mailing list