From 91513fafca3b4a24a2fc3d9d450d92ee7ac57faa Mon Sep 17 00:00:00 2001 From: Malin E Date: Tue, 16 Aug 2022 16:50:23 +0200 Subject: [PATCH] Make new trail default and change the colors --- .../scene/solarsystem/missions/jwst/toggle_trail.asset | 6 ------ data/assets/scene/solarsystem/missions/jwst/trail.asset | 4 ++-- data/profiles/jwst.profile | 5 +++++ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/data/assets/scene/solarsystem/missions/jwst/toggle_trail.asset b/data/assets/scene/solarsystem/missions/jwst/toggle_trail.asset index 91b11e8ace..8f9ed79db2 100644 --- a/data/assets/scene/solarsystem/missions/jwst/toggle_trail.asset +++ b/data/assets/scene/solarsystem/missions/jwst/toggle_trail.asset @@ -16,7 +16,6 @@ local toggle_trail = { local launchTrail = "JWSTTrailLaunch" local cruiseTrail = "JWSTTrailCruise" - local orbitTrail = "JWSTTrailOrbit" local coRotOrbitTrail = "JWSTTrailCoRotOrbit" local visibility @@ -32,7 +31,6 @@ local toggle_trail = { visibility = not ( openspace.getPropertyValue("Scene." .. launchTrail .. ".Renderable.Enabled") or openspace.getPropertyValue("Scene." .. cruiseTrail .. ".Renderable.Enabled") or - openspace.getPropertyValue("Scene." .. orbitTrail .. ".Renderable.Enabled") or openspace.getPropertyValue("Scene." .. coRotOrbitTrail .. ".Renderable.Enabled") ) end @@ -45,10 +43,6 @@ local toggle_trail = { "Scene." .. cruiseTrail .. ".Renderable.Enabled", visibility ) - openspace.setPropertyValueSingle( - "Scene." .. orbitTrail .. ".Renderable.Enabled", - visibility - ) openspace.setPropertyValueSingle( "Scene." .. coRotOrbitTrail .. ".Renderable.Enabled", visibility diff --git a/data/assets/scene/solarsystem/missions/jwst/trail.asset b/data/assets/scene/solarsystem/missions/jwst/trail.asset index fe213d316b..313f66b67b 100644 --- a/data/assets/scene/solarsystem/missions/jwst/trail.asset +++ b/data/assets/scene/solarsystem/missions/jwst/trail.asset @@ -101,7 +101,7 @@ local JWSTTrailOrbit = { Frame = 'GALACTIC', Kernels = { kernels .. "webb.bsp" } }, - Color = { 0.9, 0.9, 0.0 }, + Color = { 0.863, 0.0, 0.902 }, Period = 182.621099, -- About 6 months Resolution = 183 -- About a sample rate of once per day }, @@ -133,7 +133,7 @@ local JWSTTrailCoRotOrbit = { Frame = 'L2_COROT', Kernels = { kernels .. "webb.bsp" } }, - Color = { 0.9, 0.0, 0.9 }, + Color = { 1.0, 0.663, 0.157 }, Period = 182.621099, -- About 6 months Resolution = 183 -- About a sample rate of once per day }, diff --git a/data/profiles/jwst.profile b/data/profiles/jwst.profile index 38fb91dbd1..336b97ae82 100644 --- a/data/profiles/jwst.profile +++ b/data/profiles/jwst.profile @@ -294,6 +294,11 @@ "type": "setPropertyValueSingle", "value": "false" }, + { + "name": "Scene.JWSTTrailOrbit.Renderable.Enabled", + "type": "setPropertyValueSingle", + "value": "false" + }, { "name": "Scene.JWSTSunTrail.Renderable.Enabled", "type": "setPropertyValueSingle",