Fix script engine name parsing for DotNetEngine to make that actually work

Add a reference for Windows builds
0.6.0-stable
Melanie Thielker 2008-09-25 17:54:44 +00:00
parent f11107821e
commit f926d917cb
3 changed files with 3 additions and 2 deletions

View File

@ -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: " +

View File

@ -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};

View File

@ -1996,6 +1996,7 @@
<Reference name="OpenSim.Framework"/>
<Reference name="OpenSim.Framework.Console"/>
<Reference name="OpenSim.Region.Environment" />
<Reference name="OpenSim.Region.Interfaces" />
<Reference name="OpenSim.Region.ScriptEngine.Common"/>
<Reference name="OpenSim.Region.ScriptEngine.Shared"/>
<Reference name="OpenSim.Region.ScriptEngine.Shared.Api"/>