[Bf-blender-cvs] [06e9048adef] blender2.8: Particle edit: Tag for updates when changing tool settings related on edit mode
Sergey Sharybin
noreply at git.blender.org
Tue May 15 17:21:24 CEST 2018
Commit: 06e9048adef5528ac73435387fd30e49c0fc83da
Author: Sergey Sharybin
Date: Tue May 15 11:22:20 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB06e9048adef5528ac73435387fd30e49c0fc83da
Particle edit: Tag for updates when changing tool settings related on edit mode
===================================================================
M source/blender/makesrna/intern/rna_sculpt_paint.c
===================================================================
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))
More information about the Bf-blender-cvs
mailing list