mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-13 23:20:48 -06:00
24 lines
865 B
Plaintext
24 lines
865 B
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
|
|
|
|
local assetHelper = asset.require('util/asset_helper')
|
|
local sceneHelper = asset.require('util/scene_helper')
|
|
local propertyHelper = asset.require('util/property_helper')
|
|
|
|
-- Specifying which other assets should be loaded in this scene
|
|
asset.require('spice/base')
|
|
-- Load default key bindings applicable to most scenes
|
|
asset.require('util/default_keybindings')
|
|
asset.require('util/default_dashboard')
|
|
asset.require('util/default_joystick')
|
|
|
|
-- Load web gui
|
|
asset.require('util/webgui')
|
|
|
|
asset.onInitialize(function ()
|
|
openspace.setDefaultGuiSorting()
|
|
openspace.globebrowsing.loadWMSServersFromFile(
|
|
openspace.absPath("${DATA}/globebrowsing_servers.lua")
|
|
)
|
|
end) |