mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-07 21:08:33 -06:00
Add new verifier to handle identifiers and update codegen to be able to use them (closes #2522)
This commit is contained in:
@@ -96,8 +96,8 @@ namespace {
|
||||
};
|
||||
|
||||
struct [[codegen::Dictionary(Layer), codegen::noexhaustive()]] Parameters {
|
||||
// The unique identifier for this layer. May not contain '.' or spaces
|
||||
std::string identifier;
|
||||
// The unique identifier for this layer.
|
||||
std::string identifier [[codegen::identifier()]];
|
||||
|
||||
// A human-readable name for the user interface. If this is omitted, the
|
||||
// identifier is used instead
|
||||
|
||||
Reference in New Issue
Block a user