Fixed compiling issues with log, reset night layer configuration and disabled earth's shading by default. (#552)

This commit is contained in:
Jonathas Costa
2018-03-14 13:18:42 -04:00
committed by Alexander Bock
parent 206ff69e41
commit d2fa7140d7
2 changed files with 2 additions and 11 deletions

View File

@@ -72,6 +72,7 @@ asset.onInitialize(function ()
"Earth", "Mars", "Moon"
})
openspace.setPropertyValue("Scene.Earth.RenderableGlobe.PerformShading", false)
openspace.addVirtualProperty(
"BoolProperty",

View File

@@ -146,20 +146,10 @@ local Earth = {
Name = "Earth at Night 2012",
FilePath = mapServiceConfigsPath .. "/GIBS/night/VIIRS_CityLights_2012.wms",
Enabled = true,
Settings = {
Opacity = 1.0,
Gamma = 1.5,
Multiplier = 15.0
},
Fallback = {
Name = "Earth Night",
FilePath = texturesPath .. "/earth_night.jpg",
Enabled = true,
Settings = {
Opacity = 1.0,
Gamma = 1.5,
Multiplier = 15.0
},
Enabled = true,
}
},
{