Manti#1624. Thank you, Melanie for a patch that:
Sets XEngine threads to en-US culture before calling script events, fixes i18n issues with european locales.0.6.0-stable
parent
a9347b6ceb
commit
590df180a4
|
@ -32,6 +32,7 @@ using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Security.Policy;
|
using System.Security.Policy;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
using System.Globalization;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
using libsecondlife;
|
using libsecondlife;
|
||||||
using log4net;
|
using log4net;
|
||||||
|
@ -669,6 +670,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
//
|
//
|
||||||
private object ProcessEventHandler(object parms)
|
private object ProcessEventHandler(object parms)
|
||||||
{
|
{
|
||||||
|
CultureInfo USCulture = new CultureInfo("en-US");
|
||||||
|
Thread.CurrentThread.CurrentCulture = USCulture;
|
||||||
|
|
||||||
XScriptInstance instance = (XScriptInstance) parms;
|
XScriptInstance instance = (XScriptInstance) parms;
|
||||||
|
|
||||||
return instance.EventProcessor();
|
return instance.EventProcessor();
|
||||||
|
|
Loading…
Reference in New Issue