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
2 changed files with 4 additions and 3 deletions
Showing only changes of commit a15351c338 - Show all commits

View File

@ -1291,7 +1291,7 @@ void BKE_mesh_remap_calc_loops_from_mesh(const int mode,
const float(*poly_nors_src)[3] = nullptr;
const float(*loop_nors_src)[3] = nullptr;
const float(*poly_nors_dst)[3] = nullptr;
float(*loop_nors_dst)[3] = nullptr;
const float(*loop_nors_dst)[3] = nullptr;
float(*poly_cents_src)[3] = nullptr;

View File

@ -44,13 +44,14 @@ static const char *rna_Mesh_unit_test_compare(struct Mesh *mesh,
static void rna_Mesh_create_normals_split(Mesh *mesh)
{
/* TODO: Proper deprecation. */
/* TODO: Deprecation? */
BKE_mesh_corner_normals_ensure(mesh);
}
static void rna_Mesh_free_normals_split(Mesh *mesh)
{
/* TODO: Deprecation? */
BKE_mesh_clear_derived_normals(mesh);
BKE_mesh_normals_tag_dirty(mesh);
}
static void rna_Mesh_calc_tangents(Mesh *mesh, ReportList *reports, const char *uvmap)