From: Stuart Buchanan Date: Thu, 22 Sep 2016 19:40:26 +0000 (+0100) Subject: Add support for building meshes. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f0b504d57def1e53348a85d26fdea169a56bbdfc;p=flightgear.git Add support for building meshes. --- diff --git a/src/Scenery/tilemgr.cxx b/src/Scenery/tilemgr.cxx index a2498db97..ff5146cd5 100644 --- a/src/Scenery/tilemgr.cxx +++ b/src/Scenery/tilemgr.cxx @@ -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(SG_OBJECT_RANGE))); + _options->setPluginStringData("SimGear::BARE_LOD_RANGE", fgGetString("/sim/rendering/static-lod/bare", boost::lexical_cast(SG_OBJECT_RANGE_BARE))); + _options->setPluginStringData("SimGear::ROUGH_LOD_RANGE", fgGetString("/sim/rendering/static-lod/rough", boost::lexical_cast(SG_OBJECT_RANGE_ROUGH))); + _options->setPluginStringData("SimGear::ROUGH_LOD_DETAILED", fgGetString("/sim/rendering/static-lod/detailed", boost::lexical_cast(SG_OBJECT_RANGE_DETAILED))); + _options->setPluginStringData("SimGear::RENDER_BUILDING_MESH", fgGetBool("/sim/rendering/building-mesh", false) ? "true" : "false"); if (state != Start) {