]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/tilemgr.cxx
Revert "Fix compilation problem with MSVC 2012"
[flightgear.git] / src / Scenery / tilemgr.cxx
index 5a9679221073de0f22c186e25b43cbe03ffab776..e05133a3eb59b59678dc0f59825bb27c87164606 100644 (file)
@@ -108,6 +108,9 @@ void FGTileMgr::reinit()
         return;
     fgSetBool("/sim/sceneryloaded",false);
     fgSetDouble("/sim/startup/splash-alpha", 1.0);
+    
+    // Reload the materials definitions
+    _options->setMaterialLib(globals->get_matlib());
 
     // remove all old scenery nodes from scenegraph and clear cache
     osg::Group* group = globals->get_scenery()->get_terrain_branch();