General code cleanup (#3445)

This commit is contained in:
Alexander Bock
2024-10-10 09:49:02 +02:00
committed by GitHub
parent 125114cad5
commit ff345006d1
108 changed files with 938 additions and 1189 deletions

View File

@@ -219,9 +219,7 @@ RenderableTrail::RenderableTrail(const ghoul::Dictionary& dictionary)
setRenderBin(RenderBin::Overlay);
addProperty(Fadeable::_opacity);
_translation = Translation::createFromDictionary(
dictionary.value<ghoul::Dictionary>("Translation")
);
_translation = Translation::createFromDictionary(p.translation);
addPropertySubOwner(_translation.get());
_appearance.lineColor = p.color;