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

@@ -843,7 +843,7 @@ void RE_point_density_minmax(struct Depsgraph *depsgraph,
}
else {
const float radius[3] = {pd->radius, pd->radius, pd->radius};
BoundBox *bb = BKE_object_boundbox_get(object);
const BoundBox *bb = BKE_object_boundbox_get(object);
if (bb != NULL) {
BLI_assert((bb->flag & BOUNDBOX_DIRTY) == 0);