From 8cd0c90dab03256c41989ee99119689d8c588a70 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 27 Jul 2008 19:54:43 +0000 Subject: Addresses Mantis #1611 Set thread culture for event processing threads in DotNetEngine. XEngine already had this. Maybe someone with a French OS can verify the fix. --- .../ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase') diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs index 11a9982..fb4a3e3 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventQueueThreadClass.cs @@ -153,6 +153,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase /// private void EventQueueThreadLoop() { + CultureInfo USCulture = new CultureInfo("en-US"); + Thread.CurrentThread.CurrentCulture = USCulture; + //myScriptEngine.Log.Info("[" + ScriptEngineName + "]: EventQueueManager Worker thread spawned"); try { -- cgit v1.1