mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Ok, so NOW scripts work. New patch to break them coming soon.
This commit is contained in:
@@ -40,11 +40,13 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
: base(scriptEngine, host, localID, itemID)
|
||||
{
|
||||
Prim = new OSSLPrim(this);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public OSSLPrim Prim;
|
||||
|
||||
[Serializable]
|
||||
public class OSSLPrim
|
||||
{
|
||||
private OSSL_BuilIn_Commands OSSL;
|
||||
|
||||
@@ -95,7 +95,7 @@ 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 = (BuilIn_Commands)new OSSL_BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
|
||||
BuilIn_Commands LSLB = new BuilIn_Commands(m_scriptEngine, m_host, localID, itemID);
|
||||
|
||||
// Start the script - giving it BuiltIns
|
||||
CompiledScript.Start(LSLB);
|
||||
|
||||
Reference in New Issue
Block a user