On XEngine.ProcessEventHandler(), instead of creating a new CultureInfo on every call use the single one set by Culture.SetCurrentCulture()
This is slightly different in that SetCurrentCulture() does not use overridden settings if the system culture matches en-US but some settings there have been changed. This is what we want - we do not want to use any system overriden settings.0.7.5-pf-bulletsim
parent
1b5f21f761
commit
d97440c7cf
|
@ -1415,8 +1415,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
private object ProcessEventHandler(object parms)
|
private object ProcessEventHandler(object parms)
|
||||||
{
|
{
|
||||||
CultureInfo USCulture = new CultureInfo("en-US");
|
Culture.SetCurrentCulture();
|
||||||
Thread.CurrentThread.CurrentCulture = USCulture;
|
|
||||||
|
|
||||||
IScriptInstance instance = (ScriptInstance) parms;
|
IScriptInstance instance = (ScriptInstance) parms;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue