]> git.mxchange.org Git - flightgear.git/commitdiff
Add support for building meshes.
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Thu, 22 Sep 2016 19:40:26 +0000 (20:40 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:50 +0000 (23:27 +0200)
src/Scenery/tilemgr.cxx

index a2498db97a74547111fed77551f2da26ffb992f3..ff5146cd539b81d2bb3c1645da85a004f8972297 100644 (file)
@@ -180,7 +180,10 @@ void FGTileMgr::reinit()
     if (!_disableNasalHooks->getBoolValue())
       _options->setModelData(new FGNasalModelDataProxy);
 
-    _options->setPluginStringData("SimGear::ROUGH_LOD_RANGE", fgGetString("/sim/rendering/static-lod/rough", boost::lexical_cast<string>(SG_OBJECT_RANGE)));
+    _options->setPluginStringData("SimGear::BARE_LOD_RANGE", fgGetString("/sim/rendering/static-lod/bare", boost::lexical_cast<string>(SG_OBJECT_RANGE_BARE)));
+    _options->setPluginStringData("SimGear::ROUGH_LOD_RANGE", fgGetString("/sim/rendering/static-lod/rough", boost::lexical_cast<string>(SG_OBJECT_RANGE_ROUGH)));
+    _options->setPluginStringData("SimGear::ROUGH_LOD_DETAILED", fgGetString("/sim/rendering/static-lod/detailed", boost::lexical_cast<string>(SG_OBJECT_RANGE_DETAILED)));
+    _options->setPluginStringData("SimGear::RENDER_BUILDING_MESH", fgGetBool("/sim/rendering/building-mesh", false) ? "true" : "false");
   
     if (state != Start)
     {