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

This might resolve http://opensimulator.org/mantis/view.php?id=5475
bulletsim
Justin Clark-Casey (justincc) 2011-05-27 21:19:20 +01:00
parent 4e4db749eb
commit e9988a3728
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>
public void AssetRequestCallback(string id, object sender, AssetBase asset)
{
Culture.SetCurrentCulture();
try
{
lock (this)
@ -293,6 +295,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
/// </summary>
protected void PerformAssetsRequestCallback(object o)
{
Culture.SetCurrentCulture();
try
{
m_assetsRequestCallback(m_foundAssetUuids, m_notFoundAssetUuids);

View File

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