Particle edit: Add missing looking tag in cut brush

This commit is contained in:
2018-05-15 12:52:54 +02:00
parent e57ba1daf5
commit 4f5bcc30d3

View File

@@ -4268,6 +4268,7 @@ static int shape_cut_exec(bContext *C, wmOperator *UNUSED(op))
if (edit->psys) {
WM_event_add_notifier(C, NC_OBJECT|ND_PARTICLE|NA_EDITED, ob);
BKE_particle_batch_cache_dirty(edit->psys, BKE_PARTICLE_BATCH_DIRTY_ALL);
DEG_id_tag_update(&ob->id, DEG_TAG_COPY_ON_WRITE);
}
else {
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);