diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-01 22:58:32 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-01 22:58:32 +0300 |
commit | 69c07adb51832950643f558dff671b55cc8706cd (patch) | |
tree | b6af7245fc5ab9369708ca2bebb2ab877fab99a3 /source/blender/blenkernel/BKE_object.h | |
parent | 59c3194f8e88509a44384c4c48a9a466f8aeffde (diff) |
Cleanup: Remove object bounding box function
This abstraction doesn't serve any purpose after 11c6d4e88eb919.
The flag on bounding boxes isn't used, except for the dirty tag.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index e36d71602e3..2d60ce87e23 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -355,10 +355,7 @@ void BKE_object_dimensions_set_ex(struct Object *ob, void BKE_object_dimensions_set(struct Object *ob, const float value[3], int axis_mask); void BKE_object_empty_draw_type_set(struct Object *ob, int value); -/** - * Use this to temporally disable/enable bound-box. - */ -void BKE_object_boundbox_flag(struct Object *ob, int flag, bool set); + void BKE_object_boundbox_calc_from_mesh(struct Object *ob, const struct Mesh *me_eval); bool BKE_object_boundbox_calc_from_evaluated_geometry(struct Object *ob); void BKE_object_minmax(struct Object *ob, float r_min[3], float r_max[3], bool use_hidden); |