]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/tgdb/TileCache.cxx
Clear tile cache on (re-)init.
[simgear.git] / simgear / scene / tgdb / TileCache.cxx
index 26dffe7c33566292f586d478f2ca89b52c47da8d..3032dea18bdb69b3f5b340059c40c7e203b2917d 100644 (file)
@@ -66,9 +66,7 @@ void TileCache::init( void ) {
     SG_LOG( SG_TERRAIN, SG_INFO, "  current cache size = "
             << tile_cache.size() );
 
-#if 0 // don't clear the cache
     clear_cache();
-#endif
 
     SG_LOG( SG_TERRAIN, SG_INFO, "  done with init()"  );
 }