mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 12:10:52 -06:00
Forgot to change the name in the asset file + small clean up
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user