aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-05-27 21:19:20 +0100
committerJustin Clark-Casey (justincc)2011-05-27 21:19:20 +0100
commite9988a3728706e346dfb869de554a24e6a3b0a79 (patch)
treebff11d11342f6b066a46149e4a9eb0aacc4e839f /OpenSim/Region/CoreModules
parentIf parsing fails in the primitive base shape (which prints out a debug log me... (diff)
downloadopensim-SC_OLD-e9988a3728706e346dfb869de554a24e6a3b0a79.zip
opensim-SC_OLD-e9988a3728706e346dfb869de554a24e6a3b0a79.tar.gz
opensim-SC_OLD-e9988a3728706e346dfb869de554a24e6a3b0a79.tar.bz2
opensim-SC_OLD-e9988a3728706e346dfb869de554a24e6a3b0a79.tar.xz
Make sure culture is en-US when saving archive related xml.
This might resolve http://opensimulator.org/mantis/view.php?id=5475
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs
index b888698..3078ab3 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsRequest.cs
@@ -230,6 +230,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
230 /// <param name="asset"></param> 230 /// <param name="asset"></param>
231 public void AssetRequestCallback(string id, object sender, AssetBase asset) 231 public void AssetRequestCallback(string id, object sender, AssetBase asset)
232 { 232 {
233 Culture.SetCurrentCulture();
234
233 try 235 try
234 { 236 {
235 lock (this) 237 lock (this)
@@ -293,6 +295,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
293 /// </summary> 295 /// </summary>
294 protected void PerformAssetsRequestCallback(object o) 296 protected void PerformAssetsRequestCallback(object o)
295 { 297 {
298 Culture.SetCurrentCulture();
299
296 try 300 try
297 { 301 {
298 m_assetsRequestCallback(m_foundAssetUuids, m_notFoundAssetUuids); 302 m_assetsRequestCallback(m_foundAssetUuids, m_notFoundAssetUuids);