Cleanup: Remove unused mesh function

This commit is contained in:
Hans Goudey
2023-06-14 09:30:06 -04:00
parent 43a0f22be2
commit 4e21db30bf
2 changed files with 0 additions and 13 deletions

View File

@@ -231,7 +231,6 @@ void BKE_mesh_texspace_get_reference(struct Mesh *me,
char **r_texspace_flag,
float **r_texspace_location,
float **r_texspace_size);
void BKE_mesh_texspace_copy_from_object(struct Mesh *me, struct Object *ob);
/**
* Create new mesh from the given object at its current state.

View File

@@ -1273,18 +1273,6 @@ void BKE_mesh_texspace_get_reference(Mesh *me,
}
}
void BKE_mesh_texspace_copy_from_object(Mesh *me, Object *ob)
{
float *texspace_location, *texspace_size;
char *texspace_flag;
if (BKE_object_obdata_texspace_get(ob, &texspace_flag, &texspace_location, &texspace_size)) {
me->texspace_flag = *texspace_flag;
copy_v3_v3(me->texspace_location, texspace_location);
copy_v3_v3(me->texspace_size, texspace_size);
}
}
float (*BKE_mesh_orco_verts_get(Object *ob))[3]
{
Mesh *me = (Mesh *)ob->data;