mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-22 19:29:04 -05:00
Make use of new verifiers (Color and File) (#1510)
* Use codegen for renderable discs * Utilize color and file verifier * Add missing property assignment in exoplanets module
This commit is contained in:
@@ -234,7 +234,7 @@ namespace {
|
||||
std::optional<std::string> file;
|
||||
|
||||
// [[codegen::verbatim(ColorInfo.description)]]
|
||||
glm::vec3 color;
|
||||
glm::vec3 color [[codegen::color()]];
|
||||
|
||||
// [[codegen::verbatim(SpriteTextureInfo.description)]]
|
||||
std::optional<std::string> texture;
|
||||
@@ -277,7 +277,7 @@ namespace {
|
||||
std::optional<bool> drawLabels;
|
||||
|
||||
// [[codgen::verbatim(TextColorInfo.description)]]
|
||||
std::optional<glm::vec3> textColor;
|
||||
std::optional<glm::vec3> textColor [[codegen::color()]];
|
||||
|
||||
// [[codgen::verbatim(TextOpacityInfo.description)]]
|
||||
std::optional<float> textOpacity;
|
||||
|
||||
Reference in New Issue
Block a user