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 1 additions and 5 deletions
Showing only changes of commit be5de2b28d - Show all commits

View File

@ -466,11 +466,7 @@ static void mesh_calc_modifier_final_normals(const bool sculpt_dyntopo, Mesh *me
}
else {
if (sculpt_dyntopo == false) {
/* without this, drawing ngon tri's faces will show ugly tessellated face
* normals and will also have to calculate normals on the fly, try avoid
* this where possible since calculating face normals isn't fast,
* note that this isn't a problem for subsurf (only quads) or edit-mode
* which deals with drawing differently. */
/* Eager normal calculation can potentially be faster than deferring the to drawing code. */
HooglyBoogly marked this conversation as resolved Outdated

missing word after the

missing word after `the`
if (domain == ATTR_DOMAIN_FACE) {
mesh_final->face_normals();
}