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.
This commit is contained in:
Campbell Barton 2021-09-02 11:42:18 +10:00
parent 011d3a95e0
commit f77de678d8
1 changed files with 1 additions and 1 deletions

View File

@ -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,
});
}