Fix T45920: Loopcut w/ shrinkwrap crash
This commit is contained in:
parent
72aadc3597
commit
74c3ebad12
Notes:
blender-bot
2023-04-14 09:18:04 +02:00
Referenced by issue #45920, Crash when loop cutting a object which has a curve shrink wrapped to it
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue