From 44ef7899da386d078ecd32db1eeccc853cf0f395 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 18 Apr 2026 19:56:07 +0200 Subject: [PATCH] Add 'enabled' property to terrain bounds calculation --- src/runtime-three/runtime-scene-build.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime-three/runtime-scene-build.ts b/src/runtime-three/runtime-scene-build.ts index c3c35cf7..e861241f 100644 --- a/src/runtime-three/runtime-scene-build.ts +++ b/src/runtime-three/runtime-scene-build.ts @@ -966,7 +966,8 @@ function combineColliderBounds( function getRuntimeTerrainSceneBounds(terrain: RuntimeTerrain): RuntimeSceneBounds { const bounds = getTerrainBounds({ ...terrain, - kind: "terrain" + kind: "terrain", + enabled: true }); const min = cloneVec3(bounds.min); const max = cloneVec3(bounds.max);