mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 20:50:59 -05:00
Merge branch 'develop' of github.com:OpenSpace/OpenSpace into pr/scenegraph-refactor
This commit is contained in:
@@ -243,6 +243,8 @@ std::string TemporalTileProvider::getGdalDatasetXML(TimeKey timeKey) {
|
||||
//size_t numChars = std::string(URL_TIME_PLACEHOLDER).length();
|
||||
size_t numChars = strlen(URL_TIME_PLACEHOLDER);
|
||||
ghoul_assert(pos != std::string::npos, "Invalid dataset file");
|
||||
// @FRAGILE: This will only find the first instance. Dangerous if that instance is
|
||||
// commented out ---abock
|
||||
std::string timeSpecifiedXml = xmlTemplate.replace(pos, numChars, timeKey);
|
||||
return timeSpecifiedXml;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user