Unverified Commit 5c3aef96 authored by Micah Acinapura's avatar Micah Acinapura Committed by GitHub
Browse files

Remove orion neblua from base; updatedpaths for actions (#2088)


* Removed Orion nebula from base and added to default_full profile
* Updated paths for actions
* Added debug action for undoing event fading
Co-authored-by: default avatarAlexander Bock <mail@alexanderbock.eu>
parent 82214224
Showing with 40 additions and 10 deletions
+40 -10
local undo_event_fade = {
Identifier = "os.undo_event_fade",
Name = "Undo All Event Fading",
Command = [[
openspace.setPropertyValue("Scene.*.Renderable.Fade", 1.0, 0.5);
]],
Documentation = [[Sets the 'Fade' value of all renderables to 1. This internval values is managed by events.]],
GuiPath = "/System/Rendering",
IsLocal = true
}
asset.export("undo_event_fade", undo_event_fade.Identifier)
asset.onInitialize(function()
openspace.action.registerAction(undo_event_fade)
end)
asset.onDeinitialize(function()
openspace.action.removeAction(undo_event_fade)
end)
asset.meta = {
Name = "Actions - Undo All Event Fading",
Version = "1.0",
Description = [[ Asset providing debug ability to undo all event fading.]],
Author = "OpenSpace Team",
URL = "http://openspaceproject.com",
License = "MIT license"
}
......@@ -21,7 +21,6 @@ asset.require("scene/solarsystem/dwarf_planets/pluto/charon/default_layers")
asset.require("scene/milkyway/milkyway/volume")
asset.require("scene/milkyway/constellations/constellation_art")
asset.require("scene/milkyway/constellations/constellation_keybinds")
asset.require("scene/milkyway/objects/orionnebula/orionnebula")
asset.require("scene/digitaluniverse/2dF")
asset.require("scene/digitaluniverse/2mass")
......
......@@ -132,7 +132,7 @@ local point_jwst = {
Point the JWST model to a ra dec corrdinate in the sky. This action takes the Ra Dec
sky coordinate as arguments.
]],
GuiPath = "/events/JWST",
GuiPath = "/JWST/Events",
IsLocal = true
}
......
......@@ -52,7 +52,7 @@ local toggle_trail = {
approaching/exiting event. This action takes optional arguments to 1) determine which
node is currently in focus and only hide JWST trail if it is in focus (as the
'Node') and 2) the transition direction (as 'Approaching' or 'Exiting').]],
GuiPath = "/events/JWST",
GuiPath = "/JWST/Events",
IsLocal = true
}
......
asset.require("actions/trails/toggle_all_trails");
asset.require("actions/trails/toggle_trails_planets_moons");
asset.require("actions/planets/planet_lighting");
asset.require("actions/system/undo_event_fades");
......@@ -2,7 +2,7 @@
"actions": [
{
"documentation": "Toggle trails on or off for satellites around Earth",
"gui_path": "/Earth",
"gui_path": "/Solar System/Earth",
"identifier": "profile.toggle.satellite",
"is_local": false,
"name": "Toggle satellite trails",
......@@ -10,7 +10,7 @@
},
{
"documentation": "Refocuses the camera on the ISS",
"gui_path": "/Earth",
"gui_path": "/Solar System/Earth",
"identifier": "profile.focus.iss",
"is_local": false,
"name": "Focus ISS",
......@@ -18,7 +18,7 @@
},
{
"documentation": "Retargets the camera on Earth",
"gui_path": "/Earth",
"gui_path": "/Solar System/Earth",
"identifier": "profile.focus.earth",
"is_local": false,
"name": "Focus on Earth",
......@@ -26,7 +26,7 @@
},
{
"documentation": "Toggle on/off minor moon trails for all planets in the solar system",
"gui_path": "/Solar System",
"gui_path": "/Trails",
"identifier": "profile.toggle.minormoons",
"is_local": false,
"name": "Toggle Minor Moon Trails",
......@@ -45,7 +45,8 @@
"scene/solarsystem/planets/saturn/major_moons",
"scene/solarsystem/planets/saturn/minor_moons",
"scene/solarsystem/planets/uranus/major_moons",
"scene/solarsystem/planets/uranus/minor_moons"
"scene/solarsystem/planets/uranus/minor_moons",
"scene/milkyway/objects/orionnebula/orionnebula"
],
"camera": {
"altitude": 17000000.0,
......
......@@ -2,7 +2,7 @@
"actions": [
{
"documentation": "Toggle trails on or off for satellites around Earth",
"gui_path": "/Earth",
"gui_path": "/Solar System/Earth",
"identifier": "profile.toggle.satellitetrails",
"is_local": false,
"name": "Toggle satellite trails",
......
......@@ -50,7 +50,7 @@
},
{
"documentation": "Toggles the trails of the minor moons",
"gui_path": "/Solar System",
"gui_path": "/Trails",
"identifier": "profile.toggle.minor_trails",
"is_local": false,
"name": "Toggle minor trails",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment