diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-10 14:22:33 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-10 14:22:33 +0200 |
commit | 258f2705f6805b1eb691de529fb2d9ca5e2dd590 (patch) | |
tree | fcce05eb60000500863b6e0b8d1aee4f21a72a00 | |
parent | 9c5e968bbc3a62272d8c3105480e47628fae1a40 (diff) | |
parent | 084b8d1246359187e95f2f3a049ac70f363bfb20 (diff) | |
download | redot-engine-258f2705f6805b1eb691de529fb2d9ca5e2dd590.tar.gz |
Merge pull request #90440 from Calinou/geometryinstance3d-fix-custom-aabb-assignment
Fix GeometryInstance3D Custom AABB assignment in the editor not working
-rw-r--r-- | servers/rendering/renderer_scene_cull.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/servers/rendering/renderer_scene_cull.cpp b/servers/rendering/renderer_scene_cull.cpp index bc1b75c4eb..96c0479ac3 100644 --- a/servers/rendering/renderer_scene_cull.cpp +++ b/servers/rendering/renderer_scene_cull.cpp @@ -1029,7 +1029,6 @@ inline bool is_geometry_instance(RenderingServer::InstanceType p_type) { void RendererSceneCull::instance_set_custom_aabb(RID p_instance, AABB p_aabb) { Instance *instance = instance_owner.get_or_null(p_instance); ERR_FAIL_NULL(instance); - ERR_FAIL_COND(!is_geometry_instance(instance->base_type)); if (p_aabb != AABB()) { // Set custom AABB |