Enable Translation classes to signal when settings have changed substantially

RenderableTrail listens to those changes and recomputes the trail if Translation settings have changed
Minor GUI improvements
Remove try/catch block from SpiceRotation
Update Ghoul reference
This commit is contained in:
Alexander Bock
2016-11-26 14:45:09 +01:00
parent c199d38aac
commit d4145ede0c
10 changed files with 47 additions and 21 deletions

View File

@@ -143,6 +143,7 @@ RenderableTrail::RenderableTrail(const ghoul::Dictionary& dictionary)
_translation = std::unique_ptr<Translation>(Translation::createFromDictionary(
dictionary.value<ghoul::Dictionary>(KeyTranslation)
));
addPropertySubOwner(_translation.get());
_lineColor = dictionary.value<glm::vec3>(KeyColor);
addProperty(_lineColor);