diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-15 12:22:20 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-15 18:20:02 +0300 |
commit | 06e9048adef5528ac73435387fd30e49c0fc83da (patch) | |
tree | 69fe5d07ba70c491899405cba91dbe3154ab2932 /source/blender | |
parent | 7cbb85675a0986b7ffea8da7c48909cebea40934 (diff) |
Particle edit: Tag for updates when changing tool settings related on edit mode
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 20b25adc9e4..12b080a9284 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -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)) |