Make sure culture is en-US when saving archive related xml.

This might resolve http://opensimulator.org/mantis/view.php?id=5475
0.7.1-dev
Justin Clark-Casey (justincc) 2011-05-27 21:19:20 +01:00
parent b25cb04b34
commit 951ede7626
2 changed files with 4 additions and 1 deletions

View File

@ -230,6 +230,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
/// <param name="asset"></param> /// <param name="asset"></param>
public void AssetRequestCallback(string id, object sender, AssetBase asset) public void AssetRequestCallback(string id, object sender, AssetBase asset)
{ {
Culture.SetCurrentCulture();
try try
{ {
lock (this) lock (this)
@ -293,6 +295,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
/// </summary> /// </summary>
protected void PerformAssetsRequestCallback(object o) protected void PerformAssetsRequestCallback(object o)
{ {
Culture.SetCurrentCulture();
try try
{ {
m_assetsRequestCallback(m_foundAssetUuids, m_notFoundAssetUuids); m_assetsRequestCallback(m_foundAssetUuids, m_notFoundAssetUuids);

View File

@ -121,7 +121,6 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
} }
} }
/// <summary> /// <summary>
/// Serialize a scene object to the original xml format /// Serialize a scene object to the original xml format
/// </summary> /// </summary>