diff options
author | Tedd Hansen | 2008-01-17 15:22:35 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-17 15:22:35 +0000 |
commit | 82d43db1ccbc2b13e21c88650165f82651b657e1 (patch) | |
tree | cffd57c063d69ffc670758f4c794239e1539d453 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |
parent | * Added llApplyImpulse in the global frame. The object must be physical befo... (diff) | |
download | opensim-SC_OLD-82d43db1ccbc2b13e21c88650165f82651b657e1.zip opensim-SC_OLD-82d43db1ccbc2b13e21c88650165f82651b657e1.tar.gz opensim-SC_OLD-82d43db1ccbc2b13e21c88650165f82651b657e1.tar.bz2 opensim-SC_OLD-82d43db1ccbc2b13e21c88650165f82651b657e1.tar.xz |
Added data structure to be passed through event execution queue so that events can use llDetect*-commands to find information about event.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 2bb40ee..3bc64be 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -36,6 +36,7 @@ using libsecondlife; | |||
36 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
37 | using OpenSim.Region.Environment.Scenes; | 37 | using OpenSim.Region.Environment.Scenes; |
38 | using OpenSim.Region.ScriptEngine.Common; | 38 | using OpenSim.Region.ScriptEngine.Common; |
39 | using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase; | ||
39 | using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL; | 40 | using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL; |
40 | 41 | ||
41 | namespace OpenSim.Region.ScriptEngine.DotNetEngine | 42 | namespace OpenSim.Region.ScriptEngine.DotNetEngine |
@@ -99,7 +100,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
99 | CompiledScript.Start(LSLB); | 100 | CompiledScript.Start(LSLB); |
100 | 101 | ||
101 | // Fire the first start-event | 102 | // Fire the first start-event |
102 | m_scriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_entry", new object[] { }); | 103 | m_scriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_entry", EventQueueManager.llDetectNull, new object[] { }); |
103 | } | 104 | } |
104 | catch (Exception e) | 105 | catch (Exception e) |
105 | { | 106 | { |