diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-23 08:02:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-23 08:02:04 +0300 |
commit | 66dfef10a79bc8ce7498e5d5d0aeef8752a0fdc8 (patch) | |
tree | 29d895a2c35816e3ed3c2b504e2dc0cb18e7ed65 /source/blender/bmesh/intern | |
parent | fd9fc809b76d625a1ead6e1fbe5e486cc012f5f3 (diff) |
Fix error setting sharp edges in recent normal calculation changes
bm_mesh_edges_sharp_tag was called with setting sharp edges enabled.
Error in 39b2a7bb7e815e051348bf5c5ec777d091324164.
Diffstat (limited to 'source/blender/bmesh/intern')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_mesh_normals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mesh_normals.c b/source/blender/bmesh/intern/bmesh_mesh_normals.c index 210e92e7b6d..c94882dde65 100644 --- a/source/blender/bmesh/intern/bmesh_mesh_normals.c +++ b/source/blender/bmesh/intern/bmesh_mesh_normals.c @@ -1106,7 +1106,7 @@ static void bm_mesh_loops_calc_normals__single_threaded(BMesh *bm, } if (split_angle_cos != -1.0f) { - bm_mesh_edges_sharp_tag(bm, fnos, has_clnors ? (float)M_PI : split_angle, true); + bm_mesh_edges_sharp_tag(bm, fnos, has_clnors ? (float)M_PI : split_angle, false); } /* Clear all loops' tags (means none are to be skipped for now). */ |