diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-12 21:43:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-12 21:43:46 +0300 |
commit | 18cc8809c34468fb748f94f637beebd58ca3b8d4 (patch) | |
tree | b8017ed0193c6d18ccfcf576b47397742a7aeaf9 /source/blender/editors/mesh/editmesh_utils.c | |
parent | e65d20e7dc37d84262dfe39fb5804859e6ef39f6 (diff) |
Fix T55457: Crash after merge faces
Diffstat (limited to 'source/blender/editors/mesh/editmesh_utils.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c index ab44e017fc6..bbc9471638d 100644 --- a/source/blender/editors/mesh/editmesh_utils.c +++ b/source/blender/editors/mesh/editmesh_utils.c @@ -172,6 +172,10 @@ bool EDBM_op_finish(BMEditMesh *em, BMOperator *bmop, wmOperator *op, const bool BKE_editmesh_tessface_calc(em); } + if (em->ob) { + DEG_id_tag_update(&((Mesh *)em->ob->data)->id, DEG_TAG_COPY_ON_WRITE); + } + return false; } else { |