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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user