mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 18:11:01 -05:00
Dictionary fix.
This commit is contained in:
@@ -177,10 +177,6 @@ namespace openspace {
|
||||
}
|
||||
}
|
||||
|
||||
if (dictionary.hasKeyAndValue<double>(EnabledPointsRatioInfo.identifier)) {
|
||||
_enabledPointsRatio = static_cast<float>(dictionary.value<double>(EnabledPointsRatioInfo.identifier));
|
||||
}
|
||||
|
||||
if (dictionary.hasKeyAndValue<glm::vec3>(TranslationInfo.identifier)) {
|
||||
_translation = dictionary.value<glm::vec3>(TranslationInfo.identifier);
|
||||
}
|
||||
@@ -227,6 +223,10 @@ namespace openspace {
|
||||
LERROR("No points filename specified.");
|
||||
}
|
||||
|
||||
if (pointsDictionary.hasKeyAndValue<double>(EnabledPointsRatioInfo.identifier)) {
|
||||
_enabledPointsRatio = static_cast<float>(pointsDictionary.value<double>(EnabledPointsRatioInfo.identifier));
|
||||
}
|
||||
|
||||
std::string pointSpreadFunctionTexturePath;
|
||||
if (pointsDictionary.getValue("Texture", pointSpreadFunctionTexturePath)) {
|
||||
_pointSpreadFunctionTexturePath = absPath(pointSpreadFunctionTexturePath);
|
||||
|
||||
Reference in New Issue
Block a user