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-02 02:30:09 +0300
committerHans Goudey <h.goudey@me.com>2022-04-02 02:30:09 +0300
commit5387d33e5f954c4cecdb7ffd3d1042d8632d6c15 (patch)
tree77ef7cdd14c763b95eb2ef3c6411277118f0b621 /source/blender/blenkernel/BKE_object.h
parent69c07adb51832950643f558dff671b55cc8706cd (diff)
Cleanup: Further use of const for object bounding boxes
Also solves two warnings from the previous similar commit, f688e3cc3130e70e77f0bb0. The change to the grease pencil modifier is quite suspicious, but doesn't change the behavior, which was already broken.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r--source/blender/blenkernel/BKE_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h
index 2d60ce87e23..a90b9b12030 100644
--- a/source/blender/blenkernel/BKE_object.h
+++ b/source/blender/blenkernel/BKE_object.h
@@ -337,7 +337,7 @@ void BKE_boundbox_minmax(const struct BoundBox *bb,
float r_min[3],
float r_max[3]);
-struct BoundBox *BKE_object_boundbox_get(struct Object *ob);
+const struct BoundBox *BKE_object_boundbox_get(struct Object *ob);
void BKE_object_dimensions_get(struct Object *ob, float r_vec[3]);
/**
* The original scale and object matrix can be passed in so any difference