diff --git a/data/assets/scene/solarsystem/missions/jwst/jwst.asset b/data/assets/scene/solarsystem/missions/jwst/jwst.asset index c5dd3a777f..14f33fd3b2 100644 --- a/data/assets/scene/solarsystem/missions/jwst/jwst.asset +++ b/data/assets/scene/solarsystem/missions/jwst/jwst.asset @@ -49,7 +49,7 @@ local JWSTModel = { Parent = transforms.JWSTRotation.Identifier, TimeFrame = { Type = "TimeFrameInterval", - Start = "2018 OCT 01 14:05:52", + Start = "2018 OCT 01 14:06:03", End = "2021 OCT 01" }, Renderable = { diff --git a/data/assets/scene/solarsystem/missions/jwst/trail.asset b/data/assets/scene/solarsystem/missions/jwst/trail.asset index 35f5ceab43..f62ce762c7 100644 --- a/data/assets/scene/solarsystem/missions/jwst/trail.asset +++ b/data/assets/scene/solarsystem/missions/jwst/trail.asset @@ -10,7 +10,7 @@ local JWSTTrail = { Parent = transforms.L2.Identifier, TimeFrame = { Type = "TimeFrameInterval", - Start = "2018 OCT 01 13:18:00", + Start = "2018 OCT 01 14:06:03", End = "2021 OCT 01" }, Renderable = { diff --git a/data/profiles/jwst.profile b/data/profiles/jwst.profile index 07cdd2f429..486b869e77 100644 --- a/data/profiles/jwst.profile +++ b/data/profiles/jwst.profile @@ -39,6 +39,22 @@ "is_local": false, "name": "Toggle JWST field of view and view band", "script": "local list = openspace.getProperty('{mission_jwst_fov}.*.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end" + }, + { + "documentation": "Set the time to the 2018 launch time of JWST", + "gui_path": "/JWST", + "identifier": "profile.set.2018_launch", + "is_local": false, + "name": "Set to 2018 launch time", + "script": "openspace.time.setTime('2018-10-01T14:06:03')" + }, + { + "documentation": "Set the time to the 2021 launch time of JWST", + "gui_path": "/JWST", + "identifier": "profile.set.2021_launch", + "is_local": false, + "name": "Set to 2021 launch time", + "script": "openspace.time.setTime('2021-12-18T14:06:03')" } ], "assets": [ @@ -112,6 +128,14 @@ { "action": "profile.toggle.jwst_fov", "key": "V" + }, + { + "action": "profile.set.2018_launch", + "key": "J" + }, + { + "action": "profile.set.2021_launch", + "key": "K" } ], "mark_nodes": [