* Combine single- and multithreaded initializer to only one initializer
* Change the default to 0 to represent initializing the nodes on the main thread. Increase the default number of threads
---------
Co-authored-by: Malin E <malin.ejdbo@gmail.com>
* Remove Escape keybind; move gui keybind to F2
* Clear up keybinds properly
* Workaround for CEF focus bug
* Add TODO comment
* Guard against null ptr dereferencing
* Remove shift tab
* add additional keyboard mapping from glfw to cef
* Change dashboards to make prototype for first user test
* add mission added/removed event, disptached when a mission has been loaded/unloaded
* send missions as map instaed of array, rename missionName -> name
* Set keybind for toggling overlays to shift+f2
* Remove property for showing the title in the gui skybrowser module
* Remove default setting for skybrowser
* First implementation of setting the ui panel visibility from the launcher
* Add profile topic
* Coding style adjustment
* Add markNodes to the profiletopic
* Change format of additional data of options in engine
* Address PR comments
* map escape key from glfw to cef correctly
* fix issue with "Enter" key not working on buttons and other input fields in CEF
* Add test for new profile version
* Send skybrowser data although we are outside the solar system
* Update webgui to new ui
* Add name to profile topic
* Add cef variable to javascript context for when browser is in cef
* Use camelcase for cef variable
* Rewrite shortcuts topic to ActionKeybind and pass data in a better way (#3590)
* Rewrite shortcuts topic to ActionKeybind and pass data in a better way
* Fix strange error with file structure
* Address PR comments
* Address PR comments
* Address PR comments
* Make numbers in asset file prettier
* Rename name to identifier for missions event
* Clean up browser code
* Update UI hash (to fix the actions panel not working)
And update outdated comment. The backend is not part of this
* Feature/notify meta data change (#3605)
* Add notifyMetaDataChangeListener to topic
* First round of clean up the data passing
* Convert from string to json for metadata
* Update additional data to json
* Use nlohmann::json for additional data
* Pass meta data in new structure to topics
* Remove meta data method
* Fix mistake in merge
* Update src/properties/property.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* remove TODO comment that will be fixed by this PR
* Address PR comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Address PR comment
* Remove function for setting the endpoint
* Update frontend hash
* Remove enabled property from exoplanets module
* Remove enabled property from skybrowser module
* Update default UI panels json
* Remove setting of enabled properties for skybrowser and exoplanets
* Update gui hash
* Auto format json
---------
Co-authored-by: Andreas Engberg <adde.engberg@gmail.com>
Co-authored-by: Emma Broman <emma.broman@liu.se>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Make GlobeRotation and GlobeTranslation work for non-globes and move them to the base module
* Move ellipsoid and geodetic classes into the core
* Allow more things to take scene graph nodes instead of RenderableGlobes
* Move goToGeo and related Lua functions into the core
* Move more functions from the pathnavigation namespace into the navigation namespace
---------
Co-authored-by: Emma Broman <emma.broman@liu.se>
- Correctly render multiline text passed to a DashboardItemText
- Invert the property for the Dashboard location to no longer need a negative y-axis
- Use the current lineheight instead of pointsize for the ScreenLog
- Remove the unused size function from DashboardItems
* Remove old non-submodule version of nlohmann in favor of submodule
* Update nlohmann from 3.9.1 to 3.12.0
- Already disable implicit conversions in preparation for next major version
* Notify change listeners
I can't come up with a reason for why we would not want to do this
* Remove the Display Type for OptionProperty (only used in ImGui)
* Replace extra boolean with internal anonymous addOption function
* Tiny refactor
* removed dropdown on a couple of more places
* Update optionproperty.cpp
---------
Co-authored-by: ElonOlsson <olssonelon@gmail.com>
- Remove toStringConversion function and move json_helper include out of numericalproperty.inl
- Optimizing some header files
- Remove duplicate Lua functions from properties.
- Move List,Option,Selection,String, and TriggerProperty into misc folder
- Move lua_helper include out of inline file
- Add lua_helper to the precompiled header
- Declare property functions as final. No longer have OptionProperty derive from IntProperty
- Remove Dictionary header from properties
* Makes Translation/Scale/Rotation all able to have a TimeFrame, not just the SpiceRotation. Add read-only BoolProperty to the TimeFrame that indicates whether the current time is a in the timeframe
---------
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Add support to set focus with reset-velocities setting from Lua
* Update Lua function name and add documentation
* Rename functions that actually update the anchor/aim nodes, to reduce confusion
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
- Correctly remove interpolating render program to prevent invalid shader access
- Fix Apollo 11 location
- Fix Apollo 17 location
- Replace errors with warnings for Gala and Rime instruments for Juice
- Correctly rely on the solarsystembarycenter asset in the Voyager/Pioneer asset
- Use correct identifier for the Jupiter barycenter
- NASA Treks assets
- Slidedeck
- Fix unloading of missions
- No longer crash when loading and unloading image sequence assets
* Update add add documentation for `RenderableDistanceLabel`
* Move distancelabel to `base` module and remove now empty `vislab` module
* Add examples for `RenderableNodeLine` and `RenderableDistanceLabel`
* Fix faultily formatted documentation ID for `RenderableNodeLine`
* Make `RenderableDistanceLabel` unit use units from distanceconversion file
And simplify how the different names for a unit are specified
* Use new distanceUnitList() function for other classes that uses the units
* Change default unit to correct option according to documentation
* Make the text property readonly for `RenderableDistanceLabel`
* Add property to specify the precision of the number
distance label precision to docs
* Add examples with different units and descriptors
* Add docs description to `RenderableNodeLine`
* Update name in one of the examples
* Remove redundant switch cases
* Apply suggestions from code review
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
---------
Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
* update background and foreground colors in launcher
* Change tab order and preliminary focus visuals
* update focus color
Improves on #3091 but does not fixes it, the contrast ratio is 2.4/2.9-3.3 versus the white border/the gray background on each button/dropdown
* update focus border width
* Update color of error messages fixes#3103
* Enable enter key interaction on ui launcher buttons fixes#3092
* Update accessibility names on buttons and fields where the current readout does not make sense, fixes#3089
* Fixed issue where you could not tab out of multiline textfields
* Add overlay to the launcher image to increase contrast
* Slightly improves readability of Start button fixes#3096
We decided to keep the all caps to indicate call to action
* Add start button to have default focus which enables quick start by pressing enter or space on startup
* Removed overriden object name
* Update color label text for better clarity fixes#3094
The actual fix is in #9a7e8e1
* Add `esc` keypress to exit the launcher fixes#3097
* add placeholder text for profile name fixes#3101
* Fixed issue with properties, assets, and keybindings multiline readout, fixes#3098
* Change tab order of properties, assets, and keybindings: text area -> edit button, fixes#3099
* Add prompt to user warning of unsaved changes in profile editor
* Add error message dialog fixes#3100
* Removed unused code
* Remove hardcoded color for information text in cameradialog
* Don't compare profile files but profiles instead
* Add same focus outline to all buttons in launcher
---------
Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
# To run the script
Make sure to install the latest Python API version `openspace-api 0.1.2`
The script is located in `OpenSpace/support/assetvalidation`, the main script takes a few command line arguments
`--dir` - specify the OpenSpace directory
`--filter` - optionally supply a regex string to filter which assets to validate
`--verbose` - flag to print debug info to log and also console (default off), if off only warnings and errors are logged
`--start` - flag to start OpenSpace as a subprocess (default on) if this is off it assumes OpenSpace is already running, useful if you want to run OpenSpace via Visual Studio for example.
`--at` - specify an index to start at a specific asset
run eg:
`python main.py --dir="C:/User/Desktop/OpenSpace" --filter="examples" --verbose=True --start=False --at=35`