From f77de678d89fe9e279cbb4228959955f42b007d3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 2 Sep 2021 11:42:18 +1000 Subject: EditMesh: recalculate normals after running rip Failure to calculate normals caused an assertion since face tessellation was being calculated with invalid normals. In practice the rip-drag action would recalculate normals anyway, however mesh tessellation should always be performed with valid normals. --- source/blender/editors/mesh/editmesh_rip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/mesh/editmesh_rip.c b/source/blender/editors/mesh/editmesh_rip.c index 5a2a090b725..0553fa077f8 100644 --- a/source/blender/editors/mesh/editmesh_rip.c +++ b/source/blender/editors/mesh/editmesh_rip.c @@ -1085,7 +1085,7 @@ static int edbm_rip_invoke(bContext *C, wmOperator *op, const wmEvent *event) EDBM_update(obedit->data, &(const struct EDBMUpdate_Params){ .calc_looptri = true, - .calc_normals = false, + .calc_normals = true, .is_destructive = true, }); } -- cgit v1.2.3