Commit Graph

30 Commits

Author SHA1 Message Date
Alexander Bock
6fa3f76c48 Add a new panel to the Launcher to control which WebUI button appears on the bottom bar (#3569)
- Add markNodes to the profiletopic

---------

Co-authored-by: Ylva Selling <ylva.selling@gmail.com>
2025-04-03 18:09:35 +02:00
Alexander Bock
627b09296a Add unit tests for conversions between profile versions (closes #2701) 2025-03-31 11:32:40 +02:00
Emma Broman
c949a9892c Issue/2227 - Option to just specify a scene graph node in profile editor camera dialog (#2699)
* Add profile edit to start camera at a given scene graph node

* Restructure some navigation code to allow computing camera pose from node

* Delay computation of camera pose for node spec as well... And give NodeInfo a more extensive name (The objects may move during the frame, making the computed pose invalid)

* Update to make scene graph node first option in editor

* Add some description to each tab in the camera dialog

* Add operator== for CameraGoToNode struct to make the unit tests compile

* Add version handling for new profile version

* Add option to specify an optional height

* Update current version constant, for old test cases to go through successfully

* Add some test files

Note that apparently, the profile loading does not check the values of the individual fields, just existence, and type. So added two test cases that are not currently checked.

---------

Co-authored-by: Alexander Bock <mail@alexanderbock.eu>
2023-05-24 11:22:41 +02:00
Alexander Bock
a7841ce405 Working unit tests (#1882)
* Enable all unit tests in Jenkins (closes #1666)
* Fix issue with Profile where the version number is not updated if the profile does not contain keybindings
* Fix issue with script schedule that would cause a crash when only one script is scheduled
* Fix test for colorimage, use correct path to unit test executable for non-windows platforms
* Provide stable class names for vector and matrix verifiers
2022-02-10 01:06:41 +01:00
Alexander Bock
50a456b87f Issue/1299 (#1312)
Change profile file format from a custom one to JSON
2020-10-09 17:32:30 +02:00
Emma Broman
08b42f32de Add a couple of test cases for delta time steps in profile 2020-08-24 11:32:32 +02:00
Alexander Bock
ad5907f602 Add missing meta test case for profiles
Fix double Meta section error message
2020-07-08 11:11:27 +02:00
Alexander Bock
3e1cf6b2e3 Intermediate commit for meta information 2020-06-23 10:32:51 +02:00
Alexander Bock
b51b0898fc Remove 'require'/'request' parameters from asset inclusion in profiles 2020-06-22 10:05:19 +02:00
Alexander Bock
42e4e0a75b Convert keybinding keys to typed keys 2020-06-21 23:54:36 +02:00
Alexander Bock
338c8a9bd5 Adding the ability to add additional scripts to a profile when necessary 2020-06-21 14:26:15 +02:00
Alexander Bock
12611b1a9a Use the correct type for the navigation state
Add unit tests to verify parsing of these parameters
2020-06-21 12:31:18 +02:00
Alexander Bock
842def6fa6 Add missing unit test file
Add exception being thrown if empty lines between sections are missing
2020-06-20 23:16:10 +02:00
Alexander Bock
a367148b1d Remove patch component from profile version 2020-06-20 22:14:10 +02:00
Alexander Bock
5e6489419e Adding the first version of the unit tests for the profiles 2020-06-20 22:04:13 +02:00
Alexander Bock
15db67bb59 Port basic profile unit testing 2020-06-20 15:28:51 +02:00
Alexander Bock
604935b640 Move profile information from ProfileData into Profile class
Temporarily comment out unit tests
2020-06-19 00:09:43 +02:00
Alexander Bock
52ca39fc22 Replace 'required' with 'require' and 'requested' with 'request'
Continue the work of factoring out the serialization and deserialization of the profile files
2020-06-17 09:33:41 +02:00
Alexander Bock
9d922f2634 Remove explicit read-in function 2020-06-16 13:22:19 +02:00
Alexander Bock
393e064874 Yet more cleanup
Add ProfileError class
2020-06-16 11:05:56 +02:00
Alexander Bock
d7e976f67f Add some more fixes 2020-06-15 16:07:50 +02:00
Alexander Bock
f9d1b030ef Small cleanup 2020-06-14 18:34:52 +02:00
Alexander Bock
433d96bbb4 SGCT compile fix
First pass for pull request
2020-06-11 00:24:58 +02:00
GPayne
dfb61097b2 Finished testing new save-settings-to-profile feature 2020-05-14 13:20:05 -06:00
GPayne
fe24b0c446 Finished unit tests for profile save current feature 2020-05-07 15:39:50 -06:00
GPayne
02fb61d95d Continued unit testing work 2020-05-05 20:57:54 -06:00
GPayne
1fbb9e8acf Completed code for detecting and storing changes made since startup 2020-04-23 12:06:34 -06:00
GPayne
3d96836ee1 Added unit tests for conversion from profile to scene 2020-04-07 20:39:31 -06:00
GPayne
924a0085a7 Additional work on converting from profile to scene/asset format 2020-04-05 21:47:51 -06:00
GPayne
5a6ff37759 Created unit tests for profileFile 2020-04-03 21:43:24 -06:00