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/makesrna/intern/rna_object_api.c
parent999f6526b1bc049cdccad3c7a8e165ab342f82d9 (diff)
Cleanup: Use const for bounding boxes where possible
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index ece1c5e5815..6967f78026a 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -594,7 +594,7 @@ static void rna_Object_ray_cast(Object *ob,
}
/* Test BoundBox first (efficiency) */
- BoundBox *bb = BKE_object_boundbox_get(ob);
+ const BoundBox *bb = BKE_object_boundbox_get(ob);
float distmin;
/* Needed for valid distance check from #isect_ray_aabb_v3_simple() call. */