Cleanup: Use const for bounding boxes where possible

This commit is contained in:
2022-04-01 13:45:02 -05:00
parent 999f6526b1
commit f688e3cc31
20 changed files with 35 additions and 37 deletions

View File

@@ -106,7 +106,7 @@ static bool isDisabled(const struct Scene *UNUSED(scene),
static Mesh *generate_bounding_box_mesh(Object *object, Mesh *org_mesh)
{
BoundBox *bb = BKE_object_boundbox_get(object);
const BoundBox *bb = BKE_object_boundbox_get(object);
Mesh *result = BKE_mesh_new_nomain_from_template(org_mesh, 8, 0, 0, 24, 6);
MVert *mvert = result->mvert;