aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authordahlia2014-02-20 00:18:28 -0800
committerdahlia2014-02-20 00:18:28 -0800
commita2866b85f3674b0f63b962f46f23490cd198515e (patch)
treeeddfc1fa2dc4ee98ca968e9312faf87e0df77fdb /OpenSim/Region/CoreModules
parentadd EventManager event OnCrossAgentToNewRegion (diff)
downloadopensim-SC_OLD-a2866b85f3674b0f63b962f46f23490cd198515e.zip
opensim-SC_OLD-a2866b85f3674b0f63b962f46f23490cd198515e.tar.gz
opensim-SC_OLD-a2866b85f3674b0f63b962f46f23490cd198515e.tar.bz2
opensim-SC_OLD-a2866b85f3674b0f63b962f46f23490cd198515e.tar.xz
add newRegion parameter to CrossAgentToNewRegion event and trigger the event after crossing thread is invoked
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index f1d69b0..c9adc37 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -1531,6 +1531,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1531 CrossAgentToNewRegionDelegate d = CrossAgentToNewRegionAsync; 1531 CrossAgentToNewRegionDelegate d = CrossAgentToNewRegionAsync;
1532 d.BeginInvoke(agent, newpos, neighbourRegion, isFlying, version, CrossAgentToNewRegionCompleted, d); 1532 d.BeginInvoke(agent, newpos, neighbourRegion, isFlying, version, CrossAgentToNewRegionCompleted, d);
1533 1533
1534 Scene.EventManager.TriggerCrossAgentToNewRegion(agent, isFlying, neighbourRegion);
1535
1534 return true; 1536 return true;
1535 } 1537 }
1536 1538