[Bf-blender-cvs] [ad9fd47d7b7] master: Fix T89347: Edit-mesh make planar faces doesn't update face normals
Campbell Barton
noreply at git.blender.org
Tue Jun 22 10:34:29 CEST 2021
Commit: ad9fd47d7b7cfddb3fb518c3138cfb756bc381e2
Author: Campbell Barton
Date: Tue Jun 22 18:32:51 2021 +1000
Branches: master
https://developer.blender.org/rBad9fd47d7b7cfddb3fb518c3138cfb756bc381e2
Fix T89347: Edit-mesh make planar faces doesn't update face normals
Invalid face normals were used for tessellation.
===================================================================
M source/blender/editors/mesh/editmesh_tools.c
===================================================================
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index a3643b3bc8e..8a13dfd1d41 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -1794,7 +1794,7 @@ static int edbm_face_make_planar_exec(bContext *C, wmOperator *op)
EDBM_update(obedit->data,
&(const struct EDBMUpdate_Params){
.calc_looptri = true,
- .calc_normals = false,
+ .calc_normals = true,
.is_destructive = true,
});
}
More information about the Bf-blender-cvs
mailing list