You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"doc": "Each geometry object stores a mesh, a set of transformations applied to it after loading, and a set of selections, which can be used to specify boundary conditions and materials."
13
14
},
14
15
{
@@ -20,24 +21,30 @@
20
21
{
21
22
"pointer": "/geometry/transformation/",
22
23
"type": "object",
24
+
"default": null,
25
+
"optional": ["translation","rotation","scale"],
23
26
"doc": "Geometric transformations applied to the geometry after loading it."
log.push_back(log_item("error","Inconsistent specifications: " + new_pointer + " is an optional field with " + std::to_string(defaults.size()) + " default values."));
96
+
returnfalse;
97
+
}
98
+
}
99
+
// if it is not mandatory and not optional, something is wrong
100
+
else
101
+
{
102
+
log.push_back(log_item("warning","Inconsistent specifications: " + new_pointer + " is neither an optional or a mandatory field."));
0 commit comments