From 30ac4f1d70ce4ceb0c4f2371435f08458bd5cf96 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sun, 8 Feb 2026 20:05:04 -0800 Subject: [PATCH] Enable terrain streaming during taxi flights with RAM cache Changed taxi terrain streaming from frozen (9999s) to active (0.3s interval). The 2GB tile cache now serves tiles from RAM without blocking, making terrain rendering safe and smooth during flight paths. --- src/core/application.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/application.cpp b/src/core/application.cpp index ad25266a..7a5c57cf 100644 --- a/src/core/application.cpp +++ b/src/core/application.cpp @@ -420,10 +420,9 @@ void Application::update(float deltaTime) { } if (renderer && renderer->getTerrainManager()) { renderer->getTerrainManager()->setStreamingEnabled(true); - // Freeze new tile streaming during taxi to avoid hangs; still process ready tiles. + // With 2GB tile cache, keep streaming active during taxi at moderate rate. if (onTaxi) { - renderer->getTerrainManager()->setUpdateInterval(9999.0f); - taxiStreamCooldown_ = 2.5f; + renderer->getTerrainManager()->setUpdateInterval(0.3f); } else { // Ramp streaming back in after taxi to avoid end-of-flight hitches. if (lastTaxiFlight_) {