Skip to content

Commit 258f270

Browse files
committed
Merge pull request godotengine#90440 from Calinou/geometryinstance3d-fix-custom-aabb-assignment
Fix GeometryInstance3D Custom AABB assignment in the editor not working
2 parents 9c5e968 + 084b8d1 commit 258f270

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

servers/rendering/renderer_scene_cull.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,6 @@ inline bool is_geometry_instance(RenderingServer::InstanceType p_type) {
10291029
void RendererSceneCull::instance_set_custom_aabb(RID p_instance, AABB p_aabb) {
10301030
Instance *instance = instance_owner.get_or_null(p_instance);
10311031
ERR_FAIL_NULL(instance);
1032-
ERR_FAIL_COND(!is_geometry_instance(instance->base_type));
10331032

10341033
if (p_aabb != AABB()) {
10351034
// Set custom AABB

0 commit comments

Comments
 (0)