Files
OpenSpace/data/assets/base_blank.asset
Alexander Bock 705c898ccd Asset File cleanup (#2713)
* 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
2023-05-28 17:23:20 +02:00

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)