mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-26 14:58:51 -06:00
Fix the StaticScale to correctly request only a single double
This commit is contained in:
@@ -33,9 +33,9 @@ namespace openspace {
|
||||
StaticScale::StaticScale(const ghoul::Dictionary& dictionary)
|
||||
: _scaleValue(1.0)
|
||||
{
|
||||
const bool hasValue = dictionary.hasKeyAndValue<glm::vec3>(KeyValue);
|
||||
bool hasValue = dictionary.hasKeyAndValue<double>(KeyValue);
|
||||
if (hasValue) {
|
||||
dictionary.getValue(KeyValue, _scaleValue);
|
||||
_scaleValue = dictionary.value<double>(KeyValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user