From 260e7ecd2e4786cb92a6a243ee3e6968fc31158c Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Wed, 10 May 2023 22:59:21 +0200 Subject: [PATCH] Resetting the CME loop also sets the delta time to 1 (closes #2516). Also fix error occurring when loading the bastille day profile --- .../solarsystem/heliosphere/bastille_day/actions.asset | 1 + data/profiles/bastilleday2000.profile | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/data/assets/scene/solarsystem/heliosphere/bastille_day/actions.asset b/data/assets/scene/solarsystem/heliosphere/bastille_day/actions.asset index cce8a03967..e031755ffd 100644 --- a/data/assets/scene/solarsystem/heliosphere/bastille_day/actions.asset +++ b/data/assets/scene/solarsystem/heliosphere/bastille_day/actions.asset @@ -3,6 +3,7 @@ local bastilleday_setup_startofcme = { Name = "Reset to start of CME, no loop", Command = [[ openspace.time.setTime('2000-JUL-14 10:03:00.00'); + openspace.time.setDeltaTime(1); openspace.scriptScheduler.clear(); ]], Documentation = "Button to reset to the the start of the CME", diff --git a/data/profiles/bastilleday2000.profile b/data/profiles/bastilleday2000.profile index 46c0379e14..33bc401e2c 100644 --- a/data/profiles/bastilleday2000.profile +++ b/data/profiles/bastilleday2000.profile @@ -72,13 +72,9 @@ "key": "D" }, { - "action": "os.events.bastilleday.fluxnodelegend.showlegend", + "action": "os.events.bastilleday.fluxnodelegend.togglelegend", "key": "N" }, - { - "action": "os.events.bastilleday.fluxnodelegend.hidelegend", - "key": "M" - }, { "action": "os.events.bastilleday.magnetogramtexture.switchcolorlayer", "key": "I"