From f926d917cbf14d59f663be254dc107603da187af Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 25 Sep 2008 17:54:44 +0000 Subject: Fix script engine name parsing for DotNetEngine to make that actually work Add a reference for Windows builds --- OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs | 2 +- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 +- prebuild.xml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs index 0308169..deb995b 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/EventManager.cs @@ -240,7 +240,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase } } - if (engine != "DotNetEngine") + if (engine != myScriptEngine.ScriptEngineName) return; myScriptEngine.Log.Debug("OnRezScript localID: " + localID + " LLUID: " + itemID.ToString() + " Size: " + diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index f11ccc4..3a06462 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -359,7 +359,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine } } - if (engine != "XEngine") + if (engine != ScriptEngineName) return; Object[] parms = new Object[]{localID, itemID, script, startParam, postOnRez}; diff --git a/prebuild.xml b/prebuild.xml index c8fe1e4..78b6913 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -1996,6 +1996,7 @@ + -- cgit v1.1