Commit Graph

3573 Commits

Author SHA1 Message Date
Malin E
05252b8258 Merge branch 'master' into feature/model-opacity
* Solve conflict in iss.asset
2023-02-16 12:07:12 +01:00
Emma Broman
352c9dd5ec Touch module code cleanup (#2465)
* Remove unused feature that allowed us to "pick" nodes using touch (it didn't really work and had some nasty hardcoded and costly implementation). Fixes Touch interaction picking refactor #1041

* General refactoring of code and removing redundant code

* Make touch markers prettier (change default color and smoothen edges)

* Add module property to control which renderable types are "directly touchable"

* Add SGN property to control which individual nodes are "directly touchable" ("SupportsDirectInteraction")

* Fix stuttering when zooming in closer than the orbitalnavigator allows
2023-02-14 13:55:24 +01:00
Alexander Bock
c242104baf Improve the reporting of specification errors 2023-02-13 22:16:23 +01:00
Ylva Selling
e924b41bf0 Merge pull request #2359 from OpenSpace/issue/2313
Issue/2313: Ensure all nodes in a cluster loads the image collection in the sky browser
2023-02-13 12:55:08 -05:00
Adam Rohdin
756ade4e7d DashboardItem now listens to paramter 'enabled' in constructor 2023-02-13 16:09:07 +01:00
Adam Rohdin
e69ec8ac4d Neater solution than cb45f96 2023-02-13 10:14:08 +01:00
Ylva Selling
0ee565027e Merge remote-tracking branch 'origin/master' into issue/2313
# Conflicts:
#	modules/skybrowser/skybrowsermodule_lua.inl
2023-02-10 13:06:38 -05:00
Adam Rohdin
cb45f962e5 Fix bug where triggering of action via keybinds didn't get called 2023-02-10 15:52:41 +01:00
Alexander Bock
be122a5a73 No longer trigger an assert when binding a key to an action that does not exist (closes #2485) 2023-02-06 23:17:16 +01:00
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
Malin E
14edda9e61 Remove problematic manual depth test code 2023-02-01 16:25:19 +01:00
Malin E
f490fccee6 Merge branch 'master' into feature/model-opacity
* Solve conflicts in ghoul, renderablemodel.cpp and iss.asset
2023-02-01 14:52:33 +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
560c58e499 Add manual depth test between models 2022-12-07 14:19:12 +01:00
Malin E
574b789338 Merge branch 'master' into feature/model-opacity
* Solve conflicts in nebula and asset_helper assets
2022-12-01 10:20:05 +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
Ylva Selling
e37f3a2948 Initial draft 2022-11-22 10:49:58 -05:00
Malin E
213d17e376 Merge branch 'master' into feature/model-opacity 2022-11-22 09:41:53 +01:00
Malin E
433c2cd3a9 Remove unused hdr framebuffer and texture 2022-11-15 15:57:25 +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
Malin E
d81a242bfc Sync tracy function with new RenderBin order 2022-11-09 11:37:12 +01:00