Fix T45920: Loopcut w/ shrinkwrap crash

This commit is contained in:
2015-08-27 17:36:43 +10:00
parent 72aadc3597
commit 74c3ebad12

View File

@@ -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 */