Forgot to change the name in the asset file + small clean up

This commit is contained in:
Malin E
2022-04-25 14:43:52 +02:00
parent 431a6d4904
commit 2cb048ee9e
2 changed files with 3 additions and 4 deletions

View File

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

View File

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