mirror of
https://github.com/opensim/opensim.git
synced 2026-05-26 03:45:36 +08:00
Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.
The binaries are still different, but that is only a small step away now. The OSSLPrim has been removed. This commit will breal all scripts using Prim.Scale(), etc, syntax. It was not secure and will have to be brought back in another form.
This commit is contained in:
@@ -120,12 +120,15 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
||||
m_scriptEngine = scriptEngine;
|
||||
}
|
||||
public abstract void Initialize();
|
||||
public void Setup()
|
||||
{
|
||||
ReadConfig();
|
||||
Initialize();
|
||||
}
|
||||
public void Start()
|
||||
{
|
||||
m_started = true;
|
||||
|
||||
ReadConfig();
|
||||
Initialize();
|
||||
|
||||
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve);
|
||||
|
||||
@@ -225,6 +228,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
||||
{
|
||||
if (LUQueue.Count > 0)
|
||||
{
|
||||
m_scriptEngine.Log.InfoFormat("[{0}]: Loading script", m_scriptEngine.ScriptEngineName);
|
||||
LUStruct item = LUQueue.Dequeue();
|
||||
|
||||
if (item.Action == LUType.Unload)
|
||||
@@ -281,6 +285,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
||||
ls.startParam = startParam;
|
||||
ls.postOnRez = postOnRez;
|
||||
LUQueue.Enqueue(ls);
|
||||
m_scriptEngine.Log.InfoFormat("[{0}]: Queued script for load", m_scriptEngine.ScriptEngineName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user