diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-14 16:34:41 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-15 18:20:02 +0300 |
commit | e0b0f7afa0dd64c2295a5c4a934c5fcb60c1190e (patch) | |
tree | 8cad6b1805b42eac17d81f9c34390dbe1aea1ace /source/blender/editors/physics | |
parent | b6e3430417d69d20ebca107fa23f058f65de6092 (diff) |
Fix hair edit mode after recent fix for DEG sued from draw code
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 0e03b0eeb84..5aabebe44a0 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -4003,6 +4003,7 @@ static void brush_edit_apply(bContext *C, wmOperator *op, PointerRNA *itemptr) if (edit->psys) { WM_event_add_notifier(C, NC_OBJECT|ND_PARTICLE|NA_EDITED, ob); BKE_particle_batch_cache_dirty(edit->psys, BKE_MESH_BATCH_DIRTY_ALL); + DEG_id_tag_update(&ob->id, DEG_TAG_COPY_ON_WRITE); } else { DEG_id_tag_update(&ob->id, OB_RECALC_DATA); |