diff options
author | Melanie | 2011-10-25 03:10:54 +0100 |
---|---|---|
committer | Melanie | 2011-10-25 03:10:54 +0100 |
commit | df430d572d8f5cc530e02888b0662ff6c4e74bd0 (patch) | |
tree | 63e41f09ae80c59a830753285c0593ac73f82625 /OpenSim/Region/ScriptEngine/Shared | |
parent | Merge commit 'b45219065c7a81b3ec488b3a6734773c34268618' into bigmerge (diff) | |
parent | Add "scripts suspend" and "scripts resume" commands. (diff) | |
download | opensim-SC_OLD-df430d572d8f5cc530e02888b0662ff6c4e74bd0.zip opensim-SC_OLD-df430d572d8f5cc530e02888b0662ff6c4e74bd0.tar.gz opensim-SC_OLD-df430d572d8f5cc530e02888b0662ff6c4e74bd0.tar.bz2 opensim-SC_OLD-df430d572d8f5cc530e02888b0662ff6c4e74bd0.tar.xz |
Merge commit '3cf7fb4eca2ad57835311e8098868f2571709392' into bigmerge
Conflicts:
OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index ab46491..17c06e7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -650,11 +650,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
650 | { | 650 | { |
651 | EventParams data = null; | 651 | EventParams data = null; |
652 | 652 | ||
653 | if (Suspended) | ||
654 | return 0; | ||
655 | |||
653 | lock (m_EventQueue) | 656 | lock (m_EventQueue) |
654 | { | 657 | { |
655 | if (Suspended) | ||
656 | return 0; | ||
657 | |||
658 | lock (m_Script) | 658 | lock (m_Script) |
659 | { | 659 | { |
660 | data = (EventParams) m_EventQueue.Dequeue(); | 660 | data = (EventParams) m_EventQueue.Dequeue(); |
@@ -685,7 +685,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
685 | lock(m_Script) | 685 | lock(m_Script) |
686 | { | 686 | { |
687 | 687 | ||
688 | //m_log.DebugFormat("[XEngine]: Processing event {0} for {1}", data.EventName, this); | 688 | // m_log.DebugFormat("[XEngine]: Processing event {0} for {1}", data.EventName, this); |
689 | 689 | ||
690 | m_DetectParams = data.DetectParams; | 690 | m_DetectParams = data.DetectParams; |
691 | 691 | ||