diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-27 10:36:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-27 10:45:56 +0300 |
commit | 74c3ebad12c0d2aac9de35861c18f523f280ae4a (patch) | |
tree | c62e4648c1f27acdefa33f95f795e9c171f4ff78 /source/blender/editors/mesh | |
parent | 72aadc35977aa41380f0fdaf0ddd85e5988d907a (diff) |
Fix T45920: Loopcut w/ shrinkwrap crash
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_loopcut.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c index 50257d250dc..c612ebfcc24 100644 --- a/source/blender/editors/mesh/editmesh_loopcut.c +++ b/source/blender/editors/mesh/editmesh_loopcut.c @@ -430,8 +430,9 @@ static void ringsel_finish(bContext *C, wmOperator *op) cuts, seltype, SUBD_CORNER_PATH, 0, true, use_only_quads, 0); - /* when used in a macro tessface is already re-recalculated */ - EDBM_update_generic(em, (is_macro == false), true); + /* when used in a macro the tessfaces will be recalculated anyway, + * this is needed here because modifiers depend on updated tessellation, see T45920 */ + EDBM_update_generic(em, true, true); if (is_single) { /* de-select endpoints */ |