mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-08 04:31:08 -06:00
* Add action manager to handle actions in replacement of keyboard shortcuts * Implement new Action concept * Remove the shortcutscomponent as it is no longer needed * Update profile version from 1.0 to 1.1 * Add action dialog * Restructure of key specification in keys.h * Remove solid field-of-view keybind from the newhorizons profile as the setting no longer exists
26 lines
661 B
Plaintext
26 lines
661 B
Plaintext
local assetHelper = asset.require('util/asset_helper')
|
|
local propertyHelper = asset.require('util/property_helper')
|
|
local debugHelper = asset.require('util/debug_helper')
|
|
|
|
-- At this point, a scene needs basic spice data to load.
|
|
asset.require('spice/base')
|
|
|
|
asset.require('util/default_keybindings')
|
|
asset.require('util/default_dashboard')
|
|
|
|
asset.require('util/webgui')
|
|
local spheres = asset.require('examples/spheres')
|
|
|
|
debugHelper.registerCartesianAxes(asset, {
|
|
Parent = "Root",
|
|
Scale = 10
|
|
})
|
|
|
|
asset.onInitialize(function ()
|
|
openspace.navigation.setNavigationState({
|
|
Anchor = "Root",
|
|
Position = { 20, 20, 20 },
|
|
Up = {0, 1, 0},
|
|
})
|
|
end)
|