Commit Graph

3549 Commits

Author SHA1 Message Date
Alexander Bock
79ad5776cc CMake cleanup (#2489)
* CMake Cleanup
* Warning suppression with CEF
* Use SGCT tinyxml in skybrowser for now
* Disable warnings about missing field initializers
2023-02-05 23:24:12 +01:00
Alexander Bock
0615eab81d Ignore any key that is used to abort the shutdown sequence (closes #2478) 2023-02-01 23:46:40 +01:00
Emma Broman
997c022357 Update GUI hash to fix broken Focus menu search (closes #2466)
Also make it obvious that gui hidden property is false per edfault
2023-02-01 18:15:43 +01:00
Alexander Bock
494188371b Automatically abort ongoing shutdown when interacting with the mouse or the keyboard (closes #2393) 2023-02-01 12:50:35 +01:00
Alexander Bock
d76a05eddb Make the check for whitespaces and dots in identifiers fatal also in non-Debug builds 2023-02-01 09:23:35 +01:00
Alexander Bock
62612958db Add special case to the string tokenizer for "Keypad +" (closes #2358) 2023-01-31 00:06:32 +01:00
Alexander Bock
bb1a09dcb2 Update codegen repository and make use of it 2023-01-30 00:48:57 +01:00
Alexander Bock
3b06b53187 Provide error message if a GuiPath does not start with / ; Automatically add / in the Profile editor. Default initialize all paths to / (closes #2318) 2023-01-28 22:38:00 +01:00
Malin E
7866c65cde Add lua functions to get distance to bounding and interaction sphere 2023-01-27 10:37:08 +01:00
Alexander Bock
00a63e528f Always add Gui properties for SceneGraphNodes; Initialize GuiPath with / 2023-01-26 21:16:46 +01:00
Alexander Bock
ac7bf6f8f7 Use the et2utc function in case the normal date conversion fails 2023-01-26 18:24:30 +01:00
Arohdin
f9f6f198e1 Fixed bug where lua function openspace.pathnavigation.isFlying() returned unexpected value.
Function now returns true or false as expected (based on OpenSpaceEngine::Mode)
2023-01-25 12:01:20 +01:00
Alexander Bock
dd34a0b9b4 Better handling of the postScript parameter; remove the option to pass "single" or "regex" as the last parameter (closes #2444) 2023-01-23 19:24:20 +01:00
Malin E
d732b40e1e Add Lua function to get current distance to focus 2023-01-23 10:48:48 +01:00
Alexander Bock
d52c5dd0d9 Cleanup code with designated initializer lists 2023-01-22 23:01:32 +01:00
Alexander Bock
26d5ed0a08 Add the ability to pass a script to the setPropertyValue function that is called after interpolation has finished 2023-01-22 14:45:56 +01:00
Alexander Bock
45b1b9e7e7 Add tests for FileVerifier, DirectoryVerifier, and DateTimeVerifier (closes #1563) 2023-01-21 22:14:09 +01:00
Alexander Bock
2926250be9 Add function to return a list of all tags 2023-01-21 21:02:02 +01:00
Alexander Bock
ac228c9c87 Add a new dashboard item that shows the state of input devices (closes #2415) 2023-01-21 18:29:17 +01:00
Alexander Bock
59a8a006ee Correctly deinitialize scenegraph nodes that are added at runtime 2023-01-21 16:52:14 +01:00
Alexander Bock
db375318d8 Changes to addCustomProperty (closes #2433)
- Don't create a Lua context for an empty onChange string
 - Add support for StringListProperty
 - Add documentation
 - Add error message when a type is not supported
2023-01-21 16:07:42 +01:00
Malin E
6307a25b1a Add missing case in addCustomProperty script 2023-01-19 15:05:03 +01:00
Alexander Bock
a2a1554c9a Small cleanup of property documentation 2023-01-09 00:11:58 +01:00
Alexander Bock
4f4764209f Happy new year 2023-01-02 11:19:33 +01:00
Malin E
4fd7185ae0 Fix jwst asset dependency issues, closes #2378 2022-12-21 14:44:34 +01:00
Emma Broman
53f6c8cbeb Add property to disable all mouse input in OpenSpace engine (#2361)
Solves problem with double inputs when using touch interaction
2022-12-16 14:07:22 +01:00
Emma Broman
f48b5f4cd5 Fix problem with interaction sphere of SGNs without renderables being unused (closes #2399) (#2413)
* Use given interaction sphere value for scenegraphnodes without a renderable (closes #2399)

* Remove (previously unused) interaction sphere value for ISS
2022-12-16 13:53:56 +01:00
Emma Broman
80c0ed8d92 Fix explicit bounding sphere form assets being ignored (closes #1899)
Note that the override values are still set correctly due to the properties' onchange callbacks
2022-12-13 18:00:28 +01:00
Malin E
ad5389bc87 Prevent joystick interaction during camera path or recording playback 2022-11-25 10:53:14 +01:00
Alexander Bock
44e5b17ec9 Global pass over the code to remove trailing spaces 2022-11-22 21:06:52 +01:00
Alexander Bock
e7f52f3893 Address PR 2022-11-14 10:29:26 +01:00
Emma Broman
b59f5b51d4 Clarify info message when using linear path due to precision issues 2022-11-10 09:28:27 +01:00
Emma Broman
2838a9db57 Fix precision problems when removeing roll from rotation
Sometimes led to stuttering
2022-11-10 09:28:08 +01:00
Emma Broman
e565b9cb2f Prematurely end linear path interpolation if there is not enough precision 2022-11-07 21:39:12 +01:00
Emma Broman
24e9c9252e Add a todo comment for rotation 2022-11-07 17:33:58 +01:00
Emma Broman
5175418699 Prevent rotation from breaking due to precision errors during lookat computation 2022-11-07 17:33:46 +01:00
Emma Broman
1d954cf220 Add checks for preventing precision issues when checking for collisions 2022-11-07 16:10:44 +01:00
Alexander Bock
8579a12785 Don't crash when trying to add assets with invalid path (closes #2299) 2022-11-07 13:46:31 +01:00
Alexander Bock
6249fa6d89 Collection of a number of changes (#2286)
* Cleanup Property code
* Remove NOLINT statements
* Return Property class types as string_view
* Remove getStringValue function
* Simplify string value retrieval
* Ensure that image paths in the ImageSequenceTileProvider are sorted (closes #2205)
* Some cleanup of OpenSpaceEngine
* Cleanup documentation
* Some more cleanup of engine classes
* Some more cleanup
* Update SGCT repository
* Use new Jenkins node identifiers as the old method broke with update
2022-10-30 12:54:14 +01:00
Alexander Bock
e928d5cdb8 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2022-10-23 02:13:07 +02:00
Emma Broman
009da9426e Add a function to target previous interesting anchor
Not only next
2022-10-20 13:13:40 +02:00
Malin E
6ea11273a5 Merge pull request #2262 from OpenSpace/issue/2137
Issue/2137
2022-10-17 09:09:27 +02:00
Alexander Bock
aeb366ae61 Add new dashboard item to show elapsed times (closes #2234). Cleanup handling of TimeConversion and add unit testing 2022-10-15 00:08:22 +02:00
Alexander Bock
524b78f5d2 Add the ability to disablee keybindings (closes #2238) 2022-10-14 11:24:44 +02:00
Emma Broman
06a22c2592 Fix problem with camera path not finishing properly on skipToEnd 2022-10-07 09:17:58 +02:00
Emma Broman
bcdeeef351 Remove an extra line 2022-10-06 22:28:08 +02:00
Emma Broman
8192292229 Move findNodeNearTarget function from path to pathnavigator
To reduce conflicts between wisdome installation branch and master
2022-10-06 22:25:27 +02:00
Emma Broman
5a970ee6e0 Add a function to skip immediately to the end of a playing camera path 2022-10-06 22:13:06 +02:00
GPayne
0ba064e141 Fix to account for possible empty string in session recording script 2022-09-11 21:42:46 -06:00
GPayne
acf45e858b Fixed file path bug with converting session recording version 2022-09-11 19:42:56 -06:00