Cleanup: remove unused scene argument

This commit is contained in:
2020-04-16 11:05:52 +10:00
parent bc0ed16537
commit 1685f5824d
11 changed files with 21 additions and 33 deletions

View File

@@ -4847,7 +4847,7 @@ void particle_system_update(struct Depsgraph *depsgraph,
hcfra = 100.0f * (float)i / (float)psys->part->hair_step;
if ((part->flag & PART_HAIR_REGROW) == 0) {
BKE_animsys_evaluate_animdata(
scene, &part_local->id, part_local->adt, hcfra, ADT_RECALC_ANIM, false);
&part_local->id, part_local->adt, hcfra, ADT_RECALC_ANIM, false);
}
system_step(&sim, hcfra, use_render_params);
psys->cfra = hcfra;