From 2cb048ee9e0fcaff7bcc0ad36fa391dd8cbba131 Mon Sep 17 00:00:00 2001 From: Malin E Date: Mon, 25 Apr 2022 14:43:52 +0200 Subject: [PATCH] Forgot to change the name in the asset file + small clean up --- data/assets/scene/solarsystem/missions/jwst/point_jwst.asset | 5 ++--- include/openspace/events/event.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/data/assets/scene/solarsystem/missions/jwst/point_jwst.asset b/data/assets/scene/solarsystem/missions/jwst/point_jwst.asset index 6dca49dff5..d0d8a401f4 100644 --- a/data/assets/scene/solarsystem/missions/jwst/point_jwst.asset +++ b/data/assets/scene/solarsystem/missions/jwst/point_jwst.asset @@ -1,7 +1,6 @@ local point_jwst = { Identifier = "event.jwst.point", Name = "Point JWST", - Command = [[ local ra local dec @@ -141,14 +140,14 @@ asset.onInitialize(function() openspace.action.registerAction(point_jwst) openspace.event.registerEventAction( - "PointJwstRequested", + "PointSpacecraft", point_jwst.Identifier ) end) asset.onDeinitialize(function() openspace.event.unregisterEventAction( - "PointJwstRequested", + "PointSpacecraft", point_jwst.Identifier ) diff --git a/include/openspace/events/event.h b/include/openspace/events/event.h index bc688822ce..4b02129311 100644 --- a/include/openspace/events/event.h +++ b/include/openspace/events/event.h @@ -385,7 +385,7 @@ struct EventSessionRecordingPlayback : public Event { * * \param Ra The Ra part of the sky coordinate in decimal degrees to point towards * \param Dec The Dec part of the sky coordinate in decimal degrees to point towards - * \param Duration The duration of time in seconds that the telescope should redirect + * \param Duration The duration of time in seconds that the spacecraft should redirect * itself to the coordinate. Default is 3 seconds */ struct EventPointSpacecraft : public Event {