Resetting the CME loop also sets the delta time to 1 (closes #2516). Also fix error occurring when loading the bastille day profile

This commit is contained in:
Alexander Bock
2023-05-10 22:59:21 +02:00
parent 26bdafe43c
commit 260e7ecd2e
2 changed files with 2 additions and 5 deletions

View File

@@ -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",

View File

@@ -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"