mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-20 11:28:38 -05:00
0779c54a07
Don't include Voyager and Pioneer in the base asset as it takes too long to load Ensure that the webgui asset can load without the dashboard Fix scripting issue in Rosetta scene with trails Fix issue with Dashboards that would actually render one line too far down causing trouble with multiline text Set the render option for renderablebillboards to view direction by default as the normal mode has some issues (see #1342) Set more sensible maximum value for RenderablePlanesCloud Correctly show the number of significant digits in the altitude Replace setPropertyValue with setPropertyValueSingle when clicking on the friction "buttons" on screen Add a new script function hasProperty to check whether a property exits
33 lines
1.4 KiB
Plaintext
33 lines
1.4 KiB
Plaintext
-- This is a base scene that is included in most other scenes to set up defaults
|
|
-- loading this scene directly without any other elements added on top of it will
|
|
-- probably not work
|
|
|
|
asset.require('./base_blank')
|
|
|
|
-- Specifying which other assets should be loaded in this scene
|
|
asset.require('scene/solarsystem/sun/sun')
|
|
asset.require('scene/solarsystem/sun/glare')
|
|
asset.require('scene/solarsystem/sun/default_layers')
|
|
asset.require('scene/solarsystem/planets/planets')
|
|
asset.require('scene/solarsystem/planets/default_layers')
|
|
asset.require('scene/solarsystem/planets/mars/moons/phobos')
|
|
asset.require('scene/solarsystem/planets/mars/moons/deimos')
|
|
asset.require('scene/solarsystem/dwarf_planets/pluto/system')
|
|
asset.require('scene/solarsystem/dwarf_planets/pluto/default_layers')
|
|
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('util/launcher_images')
|
|
|
|
local assetHelper = asset.require('util/asset_helper')
|
|
assetHelper.requireAll(asset, 'scene/milkyway/exoplanets')
|
|
assetHelper.requireAll(asset, 'scene/digitaluniverse')
|
|
|
|
asset.require('customization/globebrowsing')
|
|
|
|
asset.onInitialize(function ()
|
|
openspace.globebrowsing.loadWMSServersFromFile(
|
|
openspace.absPath("${DATA}/globebrowsing_servers.lua")
|
|
)
|
|
end) |