[Bf-blender-cvs] [ee1c0c682b0] sculpt-dev: Fix build in edit mode mesh fairing
Pablo Dobarro
noreply at git.blender.org
Wed Jun 16 21:42:41 CEST 2021
Commit: ee1c0c682b026b41b45386c72937edd9f29e8164
Author: Pablo Dobarro
Date: Wed Jun 16 21:06:27 2021 +0200
Branches: sculpt-dev
https://developer.blender.org/rBee1c0c682b026b41b45386c72937edd9f29e8164
Fix build in edit mode mesh fairing
===================================================================
M source/blender/editors/mesh/editmesh_fair.c
===================================================================
diff --git a/source/blender/editors/mesh/editmesh_fair.c b/source/blender/editors/mesh/editmesh_fair.c
index f6e21c50e08..7f43043176e 100644
--- a/source/blender/editors/mesh/editmesh_fair.c
+++ b/source/blender/editors/mesh/editmesh_fair.c
@@ -133,7 +133,12 @@ static int edbm_fair_vertices_exec(bContext *C, wmOperator *op)
MEM_freeN(fairing_mask);
EDBM_mesh_normals_update(em);
- EDBM_update_generic(obedit->data, true, true);
+ EDBM_update(obedit->data,
+ &(const struct EDBMUpdate_Params){
+ .calc_looptri = false,
+ .calc_normals = true,
+ .is_destructive = true,
+ });
}
MEM_freeN(objects);
More information about the Bf-blender-cvs
mailing list