Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-04-01 21:45:02 +0300
committerHans Goudey <h.goudey@me.com>2022-04-01 21:45:02 +0300
commitf688e3cc3130e70e77f0bb050cd71cf1549c765c (patch)
treecb70e8529ac06af6303d8fef5bdf0d294d573a1d /source/blender/render/intern/texture_pointdensity.c
parent999f6526b1bc049cdccad3c7a8e165ab342f82d9 (diff)
Cleanup: Use const for bounding boxes where possible
Diffstat (limited to 'source/blender/render/intern/texture_pointdensity.c')
-rw-r--r--source/blender/render/intern/texture_pointdensity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/texture_pointdensity.c b/source/blender/render/intern/texture_pointdensity.c
index f81b43f4bb0..bb313d4962c 100644
--- a/source/blender/render/intern/texture_pointdensity.c
+++ b/source/blender/render/intern/texture_pointdensity.c
@@ -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);