Cleanup: Remove unused mesh function
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user