Particle edit: Tag for updates when changing tool settings related on edit mode

This commit is contained in:
Sergey Sharybin
2018-05-15 11:22:20 +02:00
parent 7cbb85675a
commit 06e9048ade

View File

@@ -162,7 +162,9 @@ static void rna_ParticleEdit_redo(bContext *C, PointerRNA *UNUSED(ptr))
if (!edit)
return;
BKE_particle_batch_cache_dirty(edit->psys, BKE_PARTICLE_BATCH_DIRTY_ALL);
psys_free_path_cache(edit->psys, edit);
DEG_id_tag_update(&CTX_data_scene(C)->id, DEG_TAG_COPY_ON_WRITE);
}
static void rna_ParticleEdit_update(bContext *C, PointerRNA *UNUSED(ptr))