mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-13 23:20:48 -06:00
* Updating all assets to new coding style * Cleaning up asset files * Moving default_actions and default_keybindings files * Changing procedural globes to explicitly specified globes * Move Spice loading explicitly to the initialize part and also deinitialize * Removing unused asset files * Removing asset_helper * Removing scale_model_helper asset * Removing script_scheduler_helper * Removing testing_keybindings * Remove procedural_globe
28 lines
863 B
Lua
28 lines
863 B
Lua
-- This is a blank scene that that just sets up the default menus/dasboard/keys, etc.
|
|
|
|
-- Specifying which other assets should be loaded in this scene
|
|
asset.require("spice/base")
|
|
|
|
asset.require("dashboard/default_dashboard")
|
|
-- Load default key bindings applicable to most scenes
|
|
asset.require("./default_keybindings")
|
|
|
|
-- Load web gui
|
|
local webGui = asset.require("util/webgui")
|
|
|
|
-- Scale the different UI components based on the operating system's DPI scaling value
|
|
asset.require("util/dpiscaling")
|
|
|
|
-- Load the images required for the launcher to show up
|
|
asset.require("util/launcher_images")
|
|
|
|
-- Modules and component settings
|
|
asset.require("modules/touch/default_settings")
|
|
|
|
|
|
asset.onInitialize(function()
|
|
webGui.setCefRoute("onscreen")
|
|
openspace.setDefaultGuiSorting()
|
|
openspace.setPropertyValueSingle("RenderEngine.VerticalLogOffset", 0.100000)
|
|
end)
|