Cleanup: Use consistent "vert" term for mesh normals

Use "vert" instead of "vertex" when referring to mesh normals. This was
discussed as part of 1af62cb3bf but never completely
implemented.
This commit is contained in:
2023-02-27 15:52:29 -05:00
parent baa27d0aef
commit b37111c574
57 changed files with 137 additions and 153 deletions

View File

@@ -353,7 +353,7 @@ static void pointdensity_cache_vertex_weight(PointDensity *pd,
static void pointdensity_cache_vertex_normal(Mesh *mesh, float *data_color)
{
BLI_assert(data_color);
const float(*vert_normals)[3] = BKE_mesh_vertex_normals_ensure(mesh);
const float(*vert_normals)[3] = BKE_mesh_vert_normals_ensure(mesh);
memcpy(data_color, vert_normals, sizeof(float[3]) * mesh->totvert);
}