Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-05-09 16:37:41 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-09 17:21:24 +0300
commitc7ef9969b967d305d9da98a659f47c07a2c69e00 (patch)
tree26b2735c32815fddea591cf1cfb1f14d22b4bb12 /source/blender/makesrna/intern/rna_sculpt_paint.c
parent1ce1ae3d32741c567f0b7f18bfaa7157c281d8ef (diff)
Particle edit mode: Make selection settings to work with CoW
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index 03a728120eb..20b25adc9e4 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -171,6 +171,9 @@ static void rna_ParticleEdit_update(bContext *C, PointerRNA *UNUSED(ptr))
Object *ob = OBACT(view_layer);
if (ob) DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
+
+ /* Sync tool setting changes from original to evaluated scenes. */
+ DEG_id_tag_update(&CTX_data_scene(C)->id, DEG_TAG_COPY_ON_WRITE);
}
static void rna_ParticleEdit_tool_set(PointerRNA *ptr, int value)