aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-01 16:39:02 +0000
committerTeravus Ovares2008-05-01 16:39:02 +0000
commitc803e0cca1ef1e81bec4dcd615aea955f3756b19 (patch)
tree97c1ff9b468e930e8152a8d6e8df523353229d16 /OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
parent* Spring cleaning on Region.Environment. (diff)
downloadopensim-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 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 31ca3f3..419ca8f 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -92,8 +92,9 @@ namespace OpenSim.Region.ScriptEngine.Common
92 m_state = value; 92 m_state = value;
93 try 93 try
94 { 94 {
95 int eventFlags = m_ScriptEngine.m_ScriptManager.GetStateEventFlags(m_localID, m_itemID);
96 m_host.SetScriptEvents(m_itemID, eventFlags);
95 m_ScriptEngine.m_EventManager.state_entry(m_localID); 97 m_ScriptEngine.m_EventManager.state_entry(m_localID);
96
97 } 98 }
98 catch (AppDomainUnloadedException) 99 catch (AppDomainUnloadedException)
99 { 100 {