Mesh: Replace auto smooth with node group #108014

Merged
Hans Goudey merged 149 commits from HooglyBoogly/blender:refactor-mesh-corner-normals-lazy into main 2023-10-20 16:54:20 +02:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit bbac27d2bb - Show all commits

View File

@ -339,12 +339,12 @@ void mesh_render_data_update_looptris(MeshRenderData &mr,
static bool bm_edge_is_sharp(const BMEdge *const &edge)
{
return BM_elem_flag_test(edge, BM_ELEM_SMOOTH);
return !BM_elem_flag_test(edge, BM_ELEM_SMOOTH);
HooglyBoogly marked this conversation as resolved Outdated

Looks like there is a "not" missing. Same below.

Looks like there is a "not" missing. Same below.
}
static bool bm_face_is_sharp(const BMFace *const &face)
{
return BM_elem_flag_test(face, BM_ELEM_SMOOTH);
return !BM_elem_flag_test(face, BM_ELEM_SMOOTH);
}
/**