aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-28 20:29:56 +0000
committerMelanie Thielker2008-09-28 20:29:56 +0000
commitc2308d8a7d8a80d04bd7b070cb1b2f9c8b00afa7 (patch)
tree33d6396ae1586fdacb0be47c12aa5b6ef5fbefc8 /OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
parentPlumb the connection though from llSetVehicleVectorParam (diff)
downloadopensim-SC_OLD-c2308d8a7d8a80d04bd7b070cb1b2f9c8b00afa7.zip
opensim-SC_OLD-c2308d8a7d8a80d04bd7b070cb1b2f9c8b00afa7.tar.gz
opensim-SC_OLD-c2308d8a7d8a80d04bd7b070cb1b2f9c8b00afa7.tar.bz2
opensim-SC_OLD-c2308d8a7d8a80d04bd7b070cb1b2f9c8b00afa7.tar.xz
Add explicit CultureInfo to the script compile thread in DotNetEngine to
ensure that scripts will compile on nonenglish systems
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 6bafd69..1833d5c 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -496,6 +496,10 @@ namespace OpenSim.Region.ScriptEngine.XEngine
496 ScenePresence presence = m_Scene.GetScenePresence(item.OwnerID); 496 ScenePresence presence = m_Scene.GetScenePresence(item.OwnerID);
497 497
498 string assembly = ""; 498 string assembly = "";
499
500 CultureInfo USCulture = new CultureInfo("en-US");
501 Thread.CurrentThread.CurrentCulture = USCulture;
502
499 try 503 try
500 { 504 {
501 assembly = m_Compiler.PerformScriptCompile(script, 505 assembly = m_Compiler.PerformScriptCompile(script,