Cleanup lambda expressions and directly address Fadeable properties when adding properties

This commit is contained in:
Alexander Bock
2023-04-12 23:20:53 +02:00
parent 19642e8120
commit 7565a91196
67 changed files with 229 additions and 212 deletions

View File

@@ -187,7 +187,7 @@ Renderable::Renderable(const ghoul::Dictionary& dictionary, RenderableSettings s
// We don't add the property here as subclasses should decide on their own whether
// they to expose the opacity or not
addProperty(_fade);
addProperty(Fadeable::_fade);
// set type for UI
_renderableType = p.type.value_or(_renderableType);