From 33eb4a55fbfaad7dfe93d0145a21b0f41694873a Mon Sep 17 00:00:00 2001 From: James Turner <james@flightgear.org> Date: Fri, 7 Jan 2022 11:03:10 +0000 Subject: [PATCH] Enable POIs on Windows, for testing Jonathan Redpath reports that POI loading seems okay for him, let's enable it on next and see who complains, and how loudly :) --- src/Navaids/NavDataCache.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Navaids/NavDataCache.cxx b/src/Navaids/NavDataCache.cxx index 084f7031e..2419169ef 100755 --- a/src/Navaids/NavDataCache.cxx +++ b/src/Navaids/NavDataCache.cxx @@ -1437,9 +1437,9 @@ bool NavDataCache::isRebuildRequired() d->isCachedFileModified(d->carrierDatPath, true) || // since POI loading is disabled on Windows, don't check for it // this caused: https://code.google.com/p/flightgear-bugs/issues/detail?id=1227 -#ifndef SG_WINDOWS +//ifndef SG_WINDOWS d->isCachedFileModified(d->poiDatPath, true) || -#endif +//#endif d->isCachedFileModified(d->airwayDatPath, true)) { SG_LOG(SG_NAVCACHE, SG_INFO, "NavCache: main cache rebuild required"); @@ -1708,7 +1708,7 @@ void NavDataCache::doRebuild() SG_LOG(SG_NAVCACHE, SG_INFO, "stage 1 commit took:" << st.elapsedMSec()); } -#ifdef SG_WINDOWS +#if 0 SG_LOG(SG_NAVCACHE, SG_MANDATORY_INFO, "SKIPPING POI load on Windows"); #else {