mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 01:39:47 -05:00
Make time specification in profiles optional
Provide a nicer error message when forgetting version and camera parameters
This commit is contained in:
@@ -98,10 +98,11 @@ struct ProfileData {
|
||||
struct Time {
|
||||
enum class Type {
|
||||
Absolute,
|
||||
Relative
|
||||
Relative,
|
||||
None
|
||||
};
|
||||
|
||||
Type type;
|
||||
Type type = Type::None;
|
||||
std::string time;
|
||||
};
|
||||
Time time;
|
||||
|
||||
Reference in New Issue
Block a user