A few compilation fixes

This commit is contained in:
Hans Goudey 2022-11-29 12:55:32 -06:00
parent 80bd960d91
commit a15351c338
2 changed files with 4 additions and 3 deletions

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)