aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs
diff options
context:
space:
mode:
authordiva2009-01-03 02:29:49 +0000
committerdiva2009-01-03 02:29:49 +0000
commit4144fd0eb2ea93b9bb83b7ab81780fd00c999c82 (patch)
tree601fbe1847eda7cfa828ac0532175af6ea040bc3 /OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs
parentPlumb in dwell in a couple of places (diff)
downloadopensim-SC_OLD-4144fd0eb2ea93b9bb83b7ab81780fd00c999c82.zip
opensim-SC_OLD-4144fd0eb2ea93b9bb83b7ab81780fd00c999c82.tar.gz
opensim-SC_OLD-4144fd0eb2ea93b9bb83b7ab81780fd00c999c82.tar.bz2
opensim-SC_OLD-4144fd0eb2ea93b9bb83b7ab81780fd00c999c82.tar.xz
Split agent updates into two messages: full update and position+camera update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs
index 9f547a2..135a05e 100644
--- a/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs
+++ b/OpenSim/Region/Environment/Modules/Communications/Local/LocalInterregionComms.cs
@@ -133,6 +133,21 @@ namespace OpenSim.Region.Environment.Modules.Communications.Local
133 return false; 133 return false;
134 } 134 }
135 135
136 public bool SendChildAgentUpdate(ulong regionHandle, AgentPosition cAgentData)
137 {
138 foreach (Scene s in m_sceneList)
139 {
140 if (s.RegionInfo.RegionHandle == regionHandle)
141 {
142 //m_log.Debug("[LOCAL COMMS]: Found region to send ChildAgentUpdate");
143 s.IncomingChildAgentDataUpdate(cAgentData);
144 return true;
145 }
146 }
147 //m_log.Debug("[LOCAL COMMS]: region not found for ChildAgentUpdate");
148 return false;
149 }
150
136 public bool SendReleaseAgent(ulong regionHandle, UUID id, string uri) 151 public bool SendReleaseAgent(ulong regionHandle, UUID id, string uri)
137 { 152 {
138 //uint x, y; 153 //uint x, y;