mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +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:
@@ -132,10 +132,16 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
// this private copy will contain Read-Only FullitemID so that it can bring that on to the server whenever needed.
|
||||
|
||||
|
||||
BuilIn_Commands LSLB = new BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
|
||||
// OSSL_BuilIn_Commands LSLB = new OSSL_BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
|
||||
LSL_Api LSL = new LSL_Api();
|
||||
OSSL_Api OSSL = new OSSL_Api();
|
||||
|
||||
LSL.Initialize(m_scriptEngine, m_host, localID, itemID);
|
||||
OSSL.Initialize(m_scriptEngine, m_host, localID, itemID);
|
||||
|
||||
// Start the script - giving it BuiltIns
|
||||
CompiledScript.Start(LSLB);
|
||||
CompiledScript.InitApi("LSL", LSL);
|
||||
CompiledScript.InitApi("OSSL", OSSL);
|
||||
|
||||
// Fire the first start-event
|
||||
int eventFlags = m_scriptEngine.m_ScriptManager.GetStateEventFlags(localID, itemID);
|
||||
|
||||
Reference in New Issue
Block a user