mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-26 14:09:05 -06:00
Fix merge
This commit is contained in:
committed by
Matthias Berg
parent
87e870b1a8
commit
e23508cdce
@@ -416,17 +416,6 @@ void RenderableTimeVaryingVolume::loadTimestepMetadata(const std::string& path)
|
||||
Timestep t;
|
||||
t.metadata = metadata;
|
||||
t.baseName = ghoul::filesystem::File(path).baseName();
|
||||
t.dimensions = dictionary.value<glm::vec3>(KeyDimensions);
|
||||
t.lowerDomainBound = dictionary.value<glm::vec3>(KeyLowerDomainBound);
|
||||
t.upperDomainBound = dictionary.value<glm::vec3>(KeyUpperDomainBound);
|
||||
t.minValue = dictionary.value<float>(KeyMinValue);
|
||||
t.maxValue = dictionary.value<float>(KeyMaxValue);
|
||||
t.unit = dictionary.value<std::string>(KeyUnit);
|
||||
|
||||
std::string timeString = dictionary.value<std::string>(KeyTime);
|
||||
t.time = Time::convertTime(timeString);
|
||||
// t.time = Time::convertTime("2012-07-01T00:00:00.001");
|
||||
|
||||
t.inRam = false;
|
||||
t.onGpu = false;
|
||||
|
||||
@@ -537,8 +526,7 @@ void RenderableTimeVaryingVolume::update(const UpdateData&) {
|
||||
//_transferFunctionHandler->setUnit(t->metadata.valueUnit);
|
||||
//_transferFunctionHandler->setMinAndMaxValue(
|
||||
// t->metadata.minValue, t->metadata.maxValue);
|
||||
|
||||
//_transferFunctionHandler->setHistogramProperty(t->histogram);
|
||||
|
||||
} else {
|
||||
_raycaster->setVolumeTexture(nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user