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>2020-02-11 16:14:12 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-02-11 16:14:12 +0300
commit4e216b1025ced0b3faa9a583f1f088cffbdfd303 (patch)
tree087e5f5ce9929eb6200b78dfc8fb7282c18098ec /source/blender/editors/object/object_edit.c
parent2e80265dc30e080bca149f016be41458766920fb (diff)
parent3dcddf83bfd48a47716de10626c19ef3ce48d021 (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r--source/blender/editors/object/object_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index d04e15461ab..5e85d47a402 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -543,9 +543,9 @@ bool ED_object_editmode_exit_ex(Main *bmain, Scene *scene, Object *obedit, int f
* is flagged for editmode, without 'obedit' being set [#35489] */
if (UNLIKELY(obedit && obedit->mode & OB_MODE_EDIT)) {
obedit->mode &= ~OB_MODE_EDIT;
+ /* Also happens when mesh is shared across multiple objects. [#T69834] */
+ DEG_id_tag_update(&obedit->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY);
}
- /* Also happens when mesh is shared across multiple objects. [#T69834] */
- DEG_id_tag_update(&obedit->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY);
return true;
}