Skip to content

Commit

Permalink
Merge pull request RigsOfRods#792 from ulteq/linux-mapbin-comeback
Browse files Browse the repository at this point in the history
[Codechange] Reactived the terrain caching (mapbin) on linux
  • Loading branch information
Petr Ohlídal committed Feb 22, 2016
2 parents feec33d + 90e1b98 commit d1d3d0f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/main/terrain/TerrainGeometryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,12 @@ void TerrainGeometryManager::initTerrain()
}
}

#ifdef _WIN32
// always save the results when it was imported
if (!disableCaching)
{
LoadingWindow::getSingleton().setProgress(23, _L("saving all terrain pages ..."));
mTerrainGroup->saveAllTerrains(false);
}
#endif // _WIN32
} else
{
LOG(" *** Terrain loaded from cache ***");
Expand Down

0 comments on commit d1d3d0f

Please sign in to comment.