]> git.mxchange.org Git - flightgear.git/commitdiff
Temporary fix: ground networks are not loaded when a navcache is present. But, the...
authorDurk Talsma <durktals@gmail.com>
Fri, 15 May 2015 19:42:10 +0000 (21:42 +0200)
committerDurk Talsma <durktals@gmail.com>
Fri, 15 May 2015 19:42:10 +0000 (21:42 +0200)
By forcing the loading of the ground networks, I have the frequencies back. We should find a proper solution later.

src/Airports/xmlloader.cxx

index 8291358b416230263885c34fce274a8bcf39ad24..a4dddabc6aad54e26dfb54b687261402e7a33b4b 100644 (file)
@@ -50,9 +50,9 @@ void XMLLoader::load(FGAirportDynamics* d)
   }
 
   flightgear::NavDataCache* cache = flightgear::NavDataCache::instance();
-  if (!cache->isCachedFileModified(path) || cache->isReadOnly()) {
-    return;
-  }
+  //if (!cache->isCachedFileModified(path) || cache->isReadOnly()) {
+  //  return;
+  //}
   
   SG_LOG(SG_NAVAID, SG_INFO, "reading groundnet data from " << path);
   SGTimeStamp t;