diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-02-11 16:14:12 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-02-11 16:14:12 +0300 |
commit | 4e216b1025ced0b3faa9a583f1f088cffbdfd303 (patch) | |
tree | 087e5f5ce9929eb6200b78dfc8fb7282c18098ec /source | |
parent | 2e80265dc30e080bca149f016be41458766920fb (diff) | |
parent | 3dcddf83bfd48a47716de10626c19ef3ce48d021 (diff) |
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_edit.c | 4 |
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; } |