mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 17:30:04 -05:00
Fix faulty identifier in exoplanet system creation script
And clarify that some tags are used in the UI => dangerous to change
This commit is contained in:
@@ -389,7 +389,7 @@ function addExoplanetSystem(data)
|
||||
Scale = AstronomicalUnit
|
||||
}
|
||||
},
|
||||
Tag = { "exoplanet_1au_ring" },
|
||||
Tag = { "exoplanet_1au_ring" }, -- Used in GUI
|
||||
GUI = {
|
||||
Name = "1 AU Size Comparison Circle",
|
||||
Path = guiPath,
|
||||
@@ -428,7 +428,7 @@ function addExoplanetSystem(data)
|
||||
Rotation = data.MeanOrbitRotation
|
||||
}
|
||||
},
|
||||
Tag = { "exoplanet_habitable_zone" },
|
||||
Tag = { "exoplanet_habitable_zone" }, -- Used in GUI
|
||||
GUI = {
|
||||
Name = data.StarName .. " Habitable Zone",
|
||||
Path = guiPath,
|
||||
@@ -598,7 +598,7 @@ function addExoplanetSystem(data)
|
||||
--------------------------------------------------------------------
|
||||
-- Planet Orbit Uncertainty
|
||||
--------------------------------------------------------------------
|
||||
local showUncertaintyDisc = openspace.propertyValue("Modules.Exoplanets.ShowHabitableZone")
|
||||
local showUncertaintyDisc = openspace.propertyValue("Modules.Exoplanets.ShowOrbitUncertainty")
|
||||
local discTexture = openspace.propertyValue("Modules.Exoplanets.OrbitDiscTexture")
|
||||
|
||||
if hasValue(planetData.SemiMajorAxisUncertainty) then
|
||||
@@ -620,7 +620,7 @@ function addExoplanetSystem(data)
|
||||
Offset = planetData.SemiMajorAxisUncertainty,
|
||||
Opacity = 0.25
|
||||
},
|
||||
Tag = { "exoplanet_uncertainty_disc" },
|
||||
Tag = { "exoplanet_uncertainty_disc" }, -- Used in GUI
|
||||
GUI = {
|
||||
Name = planetData.Name .. " Disc",
|
||||
Path = guiPath,
|
||||
|
||||
Reference in New Issue
Block a user