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:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user