Fix error setting sharp edges in recent normal calculation changes

bm_mesh_edges_sharp_tag was called with setting sharp edges enabled.
Error in 39b2a7bb7e.
This commit is contained in:
Campbell Barton
2021-07-23 15:02:04 +10:00
parent fd9fc809b7
commit 66dfef10a7

View File

@@ -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). */