local ResetLoop = {
  Identifier = "os.2012july.ResetLoop",
  Name = "Reset button",
  Command = [[
    openspace.time.setTime("2012-JUL-01 07:00:00.000")
    openspace.time.setDeltaTime(1400)
    openspace.scriptScheduler.clear()
  ]],
  Documentation = "Reset button. Sets time to start of dataset. No loop",
  GuiPath = "/2012July",
  IsLocal = false
}


asset.onInitialize(function()
  openspace.action.registerAction(ResetLoop)
end)

asset.onDeinitialize(function()
  openspace.action.removeAction(ResetLoop)
end)

asset.export("ResetLoop", ResetLoop.Identifier)
