summaryrefslogtreecommitdiff
path: root/indra/newview/llsettingsvo.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-05-24 21:17:41 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-05-24 21:17:41 +0300
commit6aa393f7f50ca30b65391f4ae230a3357092f3cd (patch)
tree3aec30df2f08a88e525823b28ee1fe983d0c349b /indra/newview/llsettingsvo.cpp
parent63ecb7325e77bf3ca568788a4557045054a4520b (diff)
SL-11287 [EEP] Importing certain legacy windlights give upload error
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
-rw-r--r--indra/newview/llsettingsvo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp
index 11d7eb1c35..7f9e2f6d30 100644
--- a/indra/newview/llsettingsvo.cpp
+++ b/indra/newview/llsettingsvo.cpp
@@ -502,7 +502,7 @@ LLSettingsSky::ptr_t LLSettingsVOSky::buildFromLegacyPresetFile(const std::strin
return ptr_t();
}
- return buildFromLegacyPreset(name, legacy_data, messages);
+ return buildFromLegacyPreset(LLURI::unescape(name), legacy_data, messages);
}
@@ -831,7 +831,7 @@ LLSettingsWater::ptr_t LLSettingsVOWater::buildFromLegacyPresetFile(const std::s
return ptr_t();
}
- return buildFromLegacyPreset(name, legacy_data, messages);
+ return buildFromLegacyPreset(LLURI::unescape(name), legacy_data, messages);
}
@@ -1101,8 +1101,8 @@ LLSettingsDay::ptr_t LLSettingsVODay::buildFromLegacyPresetFile(const std::strin
LL_WARNS("SETTINGS") << "Could not load legacy Windlight \"" << name << "\" from " << path << LL_ENDL;
return ptr_t();
}
-
- return buildFromLegacyPreset(name, path, legacy_data, messages);
+ // Name for LLSettingsDay only, path to get related files from filesystem
+ return buildFromLegacyPreset(LLURI::unescape(name), path, legacy_data, messages);
}