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 17:15:40 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-09 17:21:24 +0300
commitdda7b82dd7a374b614894b3c59be226b28d6f45e (patch)
treeda798753aeb68a6f2de02415f18a70fe5bcb4843 /source/blender/editors/physics
parent5d71399c04112107d730e4f8943ee67fd5e34e9b (diff)
Depsgraph: Tag object for copy-on-write update when toggling particle edit mode
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/particle_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index 2874b748f7e..da8a97bc143 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -4488,7 +4488,7 @@ static int particle_edit_toggle_exec(bContext *C, wmOperator *op)
// ED_workspace_object_mode_sync_from_object(wm, workspace, ob);
- DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
+ DEG_id_tag_update(&ob->id, OB_RECALC_DATA | DEG_TAG_COPY_ON_WRITE);
WM_msg_publish_rna_prop(mbus, &ob->id, ob, Object, mode);