From f0b504d57def1e53348a85d26fdea169a56bbdfc Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Thu, 22 Sep 2016 20:40:26 +0100 Subject: [PATCH] Add support for building meshes. --- src/Scenery/tilemgr.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.39.5