Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-07-23 08:02:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-23 08:02:04 +0300
commit66dfef10a79bc8ce7498e5d5d0aeef8752a0fdc8 (patch)
tree29d895a2c35816e3ed3c2b504e2dc0cb18e7ed65
parentfd9fc809b76d625a1ead6e1fbe5e486cc012f5f3 (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.
-rw-r--r--source/blender/bmesh/intern/bmesh_mesh_normals.c2
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). */