Fix for [#22479] Hair is left our when moving emitter unless Hair Dynamics is set on

This commit is contained in:
Janne Karhu
2010-06-18 11:34:45 +00:00
parent c6b7b8a485
commit e4c9381f14

View File

@@ -3943,7 +3943,7 @@ void particle_system_update(Scene *scene, Object *ob, ParticleSystem *psys)
BKE_animsys_evaluate_animdata(&part->id, part->adt, cfra, ADT_RECALC_DRIVERS);
/* TODO: only free child paths in case of PSYS_RECALC_CHILD */
if(psys->recalc & PSYS_RECALC)
if(psys->recalc & PSYS_RECALC || ob->recalc & OB_RECALC)
psys_free_path_cache(psys, NULL);
if(psys->recalc & PSYS_RECALC_CHILD)