From 3091de98cae1e0764f73dbfe2f4bf420db6ca781 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 14 Nov 2022 20:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'simgear/scene/tsync/terra?= =?UTF-8?q?sync.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simgear/scene/tsync/terrasync.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/scene/tsync/terrasync.cxx b/simgear/scene/tsync/terrasync.cxx index 50c8fbbf..3bc58eea 100644 --- a/simgear/scene/tsync/terrasync.cxx +++ b/simgear/scene/tsync/terrasync.cxx @@ -1003,7 +1003,7 @@ void SGTerraSync::WorkerThread::drainWaitingTiles() //zhongjin 11-14 - if (cacheStatus == SyncItem::Invalid) { + if (cacheStatus == SyncItem::Invalid || cacheStatus == SyncItem::NotFound) { const auto slot = syncSlotForType(next._type); SG_LOG(SG_TERRASYNC, SG_INFO, "adding to _syncSlots slot=" << slot); _syncSlots[slot].queue.push_back(next);