diff options
author | Teravus Ovares | 2008-05-01 16:39:02 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-05-01 16:39:02 +0000 |
commit | c803e0cca1ef1e81bec4dcd615aea955f3756b19 (patch) | |
tree | 97c1ff9b468e930e8152a8d6e8df523353229d16 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |
parent | * Spring cleaning on Region.Environment. (diff) | |
download | opensim-SC-c803e0cca1ef1e81bec4dcd615aea955f3756b19.zip opensim-SC-c803e0cca1ef1e81bec4dcd615aea955f3756b19.tar.gz opensim-SC-c803e0cca1ef1e81bec4dcd615aea955f3756b19.tar.bz2 opensim-SC-c803e0cca1ef1e81bec4dcd615aea955f3756b19.tar.xz |
* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the script to publish the events anymore.
* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index e242748..32c98a8 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -101,6 +101,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
101 | CompiledScript.Start(LSLB); | 101 | CompiledScript.Start(LSLB); |
102 | 102 | ||
103 | // Fire the first start-event | 103 | // Fire the first start-event |
104 | int eventFlags = m_scriptEngine.m_ScriptManager.GetStateEventFlags(localID, itemID); | ||
105 | m_host.SetScriptEvents(itemID, eventFlags); | ||
104 | m_scriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_entry", EventQueueManager.llDetectNull, new object[] { }); | 106 | m_scriptEngine.m_EventQueueManager.AddToScriptQueue(localID, itemID, "state_entry", EventQueueManager.llDetectNull, new object[] { }); |
105 | } | 107 | } |
106 | catch (Exception e) // LEGIT: User Scripting | 108 | catch (Exception e) // LEGIT: User Scripting |