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.Security.Policy;
|
||||
using System.Reflection;
|
||||
using System.Globalization;
|
||||
using System.Xml;
|
||||
using libsecondlife;
|
||||
using log4net;
|
||||
|
@ -669,6 +670,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
|||
//
|
||||
private object ProcessEventHandler(object parms)
|
||||
{
|
||||
CultureInfo USCulture = new CultureInfo("en-US");
|
||||
Thread.CurrentThread.CurrentCulture = USCulture;
|
||||
|
||||
XScriptInstance instance = (XScriptInstance) parms;
|
||||
|
||||
return instance.EventProcessor();
|
||||
|
|
Loading…
Reference in New Issue