* Add more profile meta info to profile topic, and gueard for nonexisting meta entry
* Add punctuation to end of profile descriptions
* Cleanup
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Update GUI hash
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* 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>
* 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
- 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
# 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`
* Restructuring the queueScript function
* Don't log the contents of actions that are triggered. Add the ability to do verbose logging in the scriptlog
* Remove unused shortcut manager
* Add events for adding and removing actions
* Publish event when an action is added
* Add get_action event to shortcut topic which sends requested action to the topic
* Add better comments to events
* Publish event action removed when removing an action
* Rename actions to shortcuts in the json object
* Remove subscriptions and rename action to shortcut
* Make it possible to query a propertyowner by uri with the getpropertytopic
* Remove automatic reloading of ui from drag and drop script
* Add function for uri for propertyowners
* Add uri to the to_json for the propertyowner
* Add comment for the propertyOwner function and update the comment for the property function to clearer distinguish between uris and identifiers
* Go back to the old events but with uris instead as their member
* Apply feedback from PR
* Address PR comments
---------
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
* Add event topic
Add ability to subscribe to events via js-api
* Apply suggestions from code review
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Output an error if no status or event object is passed to payload
* fixed typo
* Report a warning if user tries to unsubscribe to a non registered event/type combination
---------
Co-authored-by: Alexander Bock <alexander.bock@liu.se>
* Add a camera path topic and compute remaining time in path
* Remove unused parameter in function
* Include speed scale in estimation of time the path will take
* Includes cleanup and address review comments
* Round instead of ceil, to make countdown reach 0 in most cases
* Update GUI hash
* Rename remote scripting property to reflect better what it does
* Change the remote scripting name in all modules
* Update all scripts and action calls to use the new property for sync
* Simplify code that decides whether to send actions to nodes and peers
* Move Lua console hint text to be right top aligned
* Update Lua script topic
* Added new JSON key whether or not the script should be synced to other
nodes and peers
* Per default all scripts sync to everyone
In the next full release, we should have two separate keys that
decides whether to sync and send to nodes and peers separately
* Add some comments that explain why there is no sync for some scripts
* Make sync argument in trigger action function BooleanType