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.
This commit is contained in:
parent
311178fcf2
commit
a854840e76
Notes:
blender-bot
2023-02-14 05:14:04 +01:00
Referenced by issue #72897, Move Channels operator moves Grease Pencil Layers, causing keymap conflict Referenced by issue #72862, Viewport Render doesn't render Grease Pencil Overlays, Shading Referenced by issue #72867, Small Custom Bone Shapes have some Wireframes Artifact. Referenced by issue #72872, Grease Pencil Layer Opacity not respected in some Viewport Shading Color Types Referenced by issue #72861, Viewport Render Keyframes operator doesn't recognize Grease Pencil or Shape Keys Referenced by issue #57111, Particle texture keyframes missing from Graph Editor unless PS has keyframes
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue