diff options
author | Charles Krinke | 2008-07-04 00:59:38 +0000 |
---|---|---|
committer | Charles Krinke | 2008-07-04 00:59:38 +0000 |
commit | ce5122ebf3077085d1ca6967634b4e0baad94d6c (patch) | |
tree | c65aa10649c677a9f2a39421c2c99d5a4857bc63 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |
parent | Mantis#1660. Thank you, kindly, Melanie for a patch that: (diff) | |
download | opensim-SC_OLD-ce5122ebf3077085d1ca6967634b4e0baad94d6c.zip opensim-SC_OLD-ce5122ebf3077085d1ca6967634b4e0baad94d6c.tar.gz opensim-SC_OLD-ce5122ebf3077085d1ca6967634b4e0baad94d6c.tar.bz2 opensim-SC_OLD-ce5122ebf3077085d1ca6967634b4e0baad94d6c.tar.xz |
Mantis#1659. Thank you, Melanie for a patch that:
In LSL, the state command should have an immediate effect.
The OpenSim script engine seems to wait until the function
ends to process the state transition.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 7887515..06f9f3b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -99,6 +99,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
99 | public void state(string newState) | 99 | public void state(string newState) |
100 | { | 100 | { |
101 | m_ScriptEngine.SetState(m_itemID, newState); | 101 | m_ScriptEngine.SetState(m_itemID, newState); |
102 | throw new EventAbortException(); | ||
102 | } | 103 | } |
103 | 104 | ||
104 | public void llSay(int channelID, string text) | 105 | public void llSay(int channelID, string text) |
@@ -2791,6 +2792,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2791 | { | 2792 | { |
2792 | m_host.AddScriptLPS(1); | 2793 | m_host.AddScriptLPS(1); |
2793 | m_ScriptEngine.ApiResetScript(m_itemID); | 2794 | m_ScriptEngine.ApiResetScript(m_itemID); |
2795 | throw new EventAbortException(); | ||
2794 | } | 2796 | } |
2795 | 2797 | ||
2796 | public void llMessageLinked(int linknum, int num, string msg, string id) | 2798 | public void llMessageLinked(int linknum, int num, string msg, string id) |