From c803e0cca1ef1e81bec4dcd615aea955f3756b19 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 1 May 2008 16:39:02 +0000 Subject: * 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. --- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs') 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 m_state = value; try { + int eventFlags = m_ScriptEngine.m_ScriptManager.GetStateEventFlags(m_localID, m_itemID); + m_host.SetScriptEvents(m_itemID, eventFlags); m_ScriptEngine.m_EventManager.state_entry(m_localID); - } catch (AppDomainUnloadedException) { -- cgit v1.1