Add specific type to propertyowners

This commit is contained in:
Ylva Selling
2023-03-16 10:32:37 -04:00
parent 064825060c
commit bd5f1380c5
14 changed files with 50 additions and 22 deletions

View File

@@ -58,11 +58,13 @@ StaticScale::StaticScale() : _scaleValue(ScaleInfo, 1.f, 0.1f, 100.f) {
_scaleValue.onChange([this]() {
requireUpdate();
});
_type = "StaticScale";
}
StaticScale::StaticScale(const ghoul::Dictionary& dictionary) : StaticScale() {
const Parameters p = codegen::bake<Parameters>(dictionary);
_scaleValue = p.scale;
_type = "StaticScale";
}
} // namespace openspace