Fix T66689: Viewport isn't updating children hair particle on particle edit

Reviewers: fclem, brecht

Maniphest Tasks: T66689

Differential Revision: https://developer.blender.org/D5229
This commit is contained in:
Philipp Oeser 2019-07-11 15:11:03 +02:00
parent 2048db06d3
commit 439777f081
Notes: blender-bot 2023-02-14 09:44:56 +01:00
Referenced by issue #66689, Viewport isn't updating Children hair particle on particle edit
1 changed files with 1 additions and 0 deletions

View File

@ -2537,6 +2537,7 @@ void flushTransParticles(TransInfo *t)
}
PE_update_object(t->depsgraph, scene, OBACT(view_layer), 1);
BKE_particle_batch_cache_dirty_tag(psys, BKE_PARTICLE_BATCH_DIRTY_ALL);
DEG_id_tag_update(&ob->id, ID_RECALC_PSYS_REDO);
}
}