diff options
author | Melanie Thielker | 2008-09-27 05:31:43 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-27 05:31:43 +0000 |
commit | 85068dae60db02b168a29ffd75e1408e30d279e1 (patch) | |
tree | 8389c246a6e9891eb1bf310b85cba19a1668d790 /OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs | |
parent | Mantis #2277 (diff) | |
download | opensim-SC-85068dae60db02b168a29ffd75e1408e30d279e1.zip opensim-SC-85068dae60db02b168a29ffd75e1408e30d279e1.tar.gz opensim-SC-85068dae60db02b168a29ffd75e1408e30d279e1.tar.bz2 opensim-SC-85068dae60db02b168a29ffd75e1408e30d279e1.tar.xz |
Add friendly error messages to both engines.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs index 634a12b..4a094e2 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventQueueManager.cs | |||
@@ -139,6 +139,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
139 | public string functionName; | 139 | public string functionName; |
140 | public DetectParams[] llDetectParams; | 140 | public DetectParams[] llDetectParams; |
141 | public object[] param; | 141 | public object[] param; |
142 | public Dictionary<KeyValuePair<int,int>,KeyValuePair<int,int>> | ||
143 | LineMap; | ||
142 | } | 144 | } |
143 | 145 | ||
144 | #endregion | 146 | #endregion |
@@ -349,6 +351,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
349 | return false; | 351 | return false; |
350 | } | 352 | } |
351 | 353 | ||
354 | InstanceData id = m_ScriptEngine.m_ScriptManager.GetScript( | ||
355 | localID, itemID); | ||
356 | |||
352 | // Create a structure and add data | 357 | // Create a structure and add data |
353 | QueueItemStruct QIS = new QueueItemStruct(); | 358 | QueueItemStruct QIS = new QueueItemStruct(); |
354 | QIS.localID = localID; | 359 | QIS.localID = localID; |
@@ -356,6 +361,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
356 | QIS.functionName = FunctionName; | 361 | QIS.functionName = FunctionName; |
357 | QIS.llDetectParams = qParams; | 362 | QIS.llDetectParams = qParams; |
358 | QIS.param = param; | 363 | QIS.param = param; |
364 | if (id != null) | ||
365 | QIS.LineMap = id.LineMap; | ||
359 | 366 | ||
360 | // Add it to queue | 367 | // Add it to queue |
361 | eventQueue.Enqueue(QIS); | 368 | eventQueue.Enqueue(QIS); |