Commit Graph

7765 Commits

Author SHA1 Message Date
Malin Ejdbo d3a04825bb Merge branch 'master' into issue/1466 2021-02-17 14:25:55 +01:00
Malin Ejdbo 9372382e78 Add possibility to have * at the end and tags + * 2021-02-17 14:16:10 +01:00
Malin Ejdbo 9143316111 Match property name better to avoid false matches 2021-02-16 09:28:02 +01:00
Alexander Bock aeb726e5f2 Update Ghoul submodule to make it compile in Linux again 2021-02-15 17:46:48 +01:00
Malin Ejdbo edff4b537c Add warning if regex contains two or more wildcards
* Find that replaces std::regex currently does not support two or more
wildcards in an expression
2021-02-15 14:30:25 +01:00
Malin Ejdbo ace8df0692 Do not miss matches when searching with regex 2021-02-15 14:28:23 +01:00
Alexander Bock da31d1e375 Properly handle SpecificationErrors when initializing Modules (closes #1502) 2021-02-15 11:20:27 +01:00
Alexander Bock 23f24c50fe Update Ghoul and remove explicit generation of ConsoleLog 2021-02-13 18:33:28 +01:00
Alexander Bock 2de8ade2b6 Update Ghoul repository 2021-02-13 17:47:18 +01:00
Alexander Bock dfa223abef Make use of std::filesystem::path and cleanup specification error messages 2021-02-13 12:00:26 +01:00
Alexander Bock c039258f64 Merge branch 'master' of https://github.com/OpenSpace/OpenSpace 2021-02-13 10:44:31 +01:00
Alexander Bock e7bcb774ee Add new verifiers for files and directories. Update codegen to be able to create these 2021-02-13 10:44:21 +01:00
Malin Ejdbo f34805beeb Remove false matches while matching whole string 2021-02-12 16:53:04 +01:00
Emma Broman e21edaa13e Expose exoplanet creation settings to user as module properties (#1499)
* Expose exoplanet creation settings to user as module properties

* Set default textures from asset to avoid explicit paths to sync folder
2021-02-12 14:32:37 +01:00
Alexander Bock afd484044d Better support for colors in dictionaries (closes #1489)
- Add a new Color3Verifier and Color4Verifier that checks components to be in [0,1]
 - Update codegen to add a new attribute [[codegen::color()]] to mark a vec3/vec4 to be a color value
 - Update RenderableTrail to use the new verion
2021-02-12 12:59:00 +01:00
Malin Ejdbo 5772fc621c Improve find that replace regex
* Enable * in the begining of string

* Enable search without *
2021-02-12 11:23:45 +01:00
Malin Ejdbo e70ba00757 Remove regex from scene_lua.inl
* Replace with find functions
2021-02-12 09:19:14 +01:00
Emma Broman 11e5bc36ab Prevent exception when querying renderable of non-existing SGN 2021-02-11 16:24:36 +01:00
Alexander Bock aeb62978ab Set the default startup project in Visual Studio to 'OpenSpace' (closes #1503) 2021-02-11 14:51:53 +01:00
Alexander Bock 88122d1dbb Adapt to new Ghoul; fix previously undetected errors in uniform setting 2021-02-11 14:44:13 +01:00
Alexander Bock 548d673e8b Add drag and drop support for images and assets (#1497) 2021-02-11 13:43:36 +01:00
Emma Broman 9eb9095c12 Tiny cleanup 2021-02-10 10:54:33 +01:00
Emma Broman 06be5f5591 Suppress GCC warnings for float comparison 2021-02-09 15:20:02 +01:00
Emma Broman 39d5be5b17 Small habitable zone updates
* Show optimistic boundaries per default
* Shorten down interval UI name to make tooltip visible
* Increase interval for Kopparapu's formula
2021-02-09 15:10:59 +01:00
Emma Broman f9e712a8e7 Supress a warning in exoplanets task 2021-02-09 13:56:42 +01:00
Emma Broman 4a80b83df8 Update Ghoul repository 2021-02-09 13:37:25 +01:00
Alexander Bock 6d821d4f91 Feature/codegen (#1480)
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository

Co-authored-by: Emma Broman <emma.broman@liu.se>
2021-02-09 09:12:43 +01:00
Alexander Bock 78c0b23194 Remove extra line 2021-02-08 17:54:02 +01:00
Emma Broman 51b12d3158 On second thought, use the default formatting since its precision is sufficient 2021-02-08 12:40:20 +01:00
Emma Broman 26e42981f1 Always keep double precision when sending number in Lua script over websocket (closes #1467) 2021-02-08 11:03:57 +01:00
Micah c87b9b316e fixed pioneer model (thanks DanTell); updated pioneer identifiers to allow spice and horizions to coexist. added meta info 2021-02-06 16:43:00 -05:00
Alexander Bock 43a333f48e Bring Tracy back to live (currently, the Launcher has to be bypassed because Qt is doing something strange 2021-02-05 10:12:51 +01:00
Emma Broman b10e598cd3 Cleanup and improve test 2021-02-04 13:25:17 +01:00
Emma Broman 57bc3f2222 Update ghoul repository 2021-02-04 13:25:17 +01:00
Emma Broman 3f63f92128 Add test cases for the create single color image lua function 2021-02-04 13:25:17 +01:00
Emma Broman 91612f4bfd Merge pull request #1468 from OpenSpace/issue/1438
Add habitable zone for our Sun and some useful generic classes
2021-02-03 08:39:12 +01:00
Emma Broman 0b9b42e0bf Rename single color image function 2021-02-03 08:33:55 +01:00
Micah 3a6aa7ce43 added USGS wms layers for Phobos and Deimos; moved them to planets.asset to be consistant with other solarsystem moons 2021-02-02 22:25:36 -05:00
Micah 2072edd282 update mars profile to fix keybindings 2021-02-01 17:51:53 -05:00
Micah e53baeece4 adding new dem config file; whoops 2021-02-01 17:02:28 -05:00
Micah c17e43ec11 fix for HiRISE Local Set DEM from esri 2021-02-01 17:01:03 -05:00
Alexander Bock ff39e2630e Update Ghoul repository (closes #1471) 2021-02-01 14:20:55 +01:00
Alexander Bock c8fc369fb1 Fixed issue preventing the rendering of color properties 2021-02-01 13:55:53 +01:00
Alexander Bock e50ca7aded Try a fix against random crashes at startup when loading configuration 2021-02-01 13:31:28 +01:00
Emma Broman f2eb81a450 Merge branch 'master' into issue/1438 2021-02-01 13:16:18 +01:00
Alexander Bock c323a05021 Fix a crash when reloading a browser instance twice in quick succession 2021-02-01 13:09:17 +01:00
Emma Broman 0663d10c78 Update asset descriptions 2021-02-01 11:12:06 +01:00
Emma Broman 85d63967c2 Show habitable zone teff interval in UI 2021-02-01 11:01:46 +01:00
Emma Broman ef091a1044 Adress review comments 2021-02-01 11:01:14 +01:00
Alexander Bock 29fe22b912 Fix small spelling error in variable definition 2021-02-01 00:04:28 +01:00