diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-19 16:27:16 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-19 16:27:16 +0200 |
commit | 1bd6fe81ead19aa931a71d8007798a17f5d0362c (patch) | |
tree | 18aea7e2da06ea01f938288656ae3ba9d8ce2cd8 /scene/3d | |
parent | 55842a502cb5452d364304584005e5b1bcdef90f (diff) | |
parent | 8caa1b87834f10e3d5b1201a1f8d7698b2d966ef (diff) | |
download | redot-engine-1bd6fe81ead19aa931a71d8007798a17f5d0362c.tar.gz |
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
Add Gizmo to display 3D custom AABB
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/visual_instance_3d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/visual_instance_3d.cpp b/scene/3d/visual_instance_3d.cpp index 503c39ae3e..89f7ab2391 100644 --- a/scene/3d/visual_instance_3d.cpp +++ b/scene/3d/visual_instance_3d.cpp @@ -377,6 +377,7 @@ void GeometryInstance3D::set_custom_aabb(AABB p_aabb) { } custom_aabb = p_aabb; RS::get_singleton()->instance_set_custom_aabb(get_instance(), custom_aabb); + update_gizmos(); } AABB GeometryInstance3D::get_custom_aabb() const { |