aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorUbitUmarov2019-04-02 20:27:56 +0100
committerUbitUmarov2019-04-02 20:27:56 +0100
commit8e094887cd72fb878a5ac33bcb2fd95fcf771462 (patch)
treededa508827383cf6fa7bf193ca8f1b63a8fb650f /OpenSim/Region/Framework
parentanother test.... (diff)
downloadopensim-SC-8e094887cd72fb878a5ac33bcb2fd95fcf771462.zip
opensim-SC-8e094887cd72fb878a5ac33bcb2fd95fcf771462.tar.gz
opensim-SC-8e094887cd72fb878a5ac33bcb2fd95fcf771462.tar.bz2
opensim-SC-8e094887cd72fb878a5ac33bcb2fd95fcf771462.tar.xz
change avatars sending point
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs18
1 files changed, 10 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index c71d20d..2c20da6 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2193,9 +2193,6 @@ namespace OpenSim.Region.Framework.Scenes
2193 } 2193 }
2194 } 2194 }
2195 2195
2196 //m_log.DebugFormat("[CompleteMovement] Baked check: {0}ms", Util.EnvironmentTickCountSubtract(ts));
2197
2198 // HG
2199 if(isHGTP) 2196 if(isHGTP)
2200 { 2197 {
2201// ControllingClient.SendNameReply(m_uuid, Firstname, Lastname); 2198// ControllingClient.SendNameReply(m_uuid, Firstname, Lastname);
@@ -2244,6 +2241,7 @@ namespace OpenSim.Region.Framework.Scenes
2244 // if not cached we send greys 2241 // if not cached we send greys
2245 // uncomented if will wait till avatar does baking 2242 // uncomented if will wait till avatar does baking
2246 //if (cachedbaked) 2243 //if (cachedbaked)
2244
2247 { 2245 {
2248 foreach (ScenePresence p in allpresences) 2246 foreach (ScenePresence p in allpresences)
2249 { 2247 {
@@ -2257,7 +2255,7 @@ namespace OpenSim.Region.Framework.Scenes
2257 if (haveAnims) 2255 if (haveAnims)
2258 SendAnimPackToAgentNF(p, animIDs, animseqs, animsobjs); 2256 SendAnimPackToAgentNF(p, animIDs, animseqs, animsobjs);
2259 } 2257 }
2260 } // greys if 2258 }
2261 2259
2262 // attachments 2260 // attachments
2263 if (IsNPC || IsRealLogin(m_teleportFlags)) 2261 if (IsNPC || IsRealLogin(m_teleportFlags))
@@ -2305,6 +2303,8 @@ namespace OpenSim.Region.Framework.Scenes
2305 { 2303 {
2306 if(gotCrossUpdate) 2304 if(gotCrossUpdate)
2307 { 2305 {
2306 SendOtherAgentsAvatarFullToMe();
2307
2308 // Create child agents in neighbouring regions 2308 // Create child agents in neighbouring regions
2309 IEntityTransferModule m_agentTransfer = m_scene.RequestModuleInterface<IEntityTransferModule>(); 2309 IEntityTransferModule m_agentTransfer = m_scene.RequestModuleInterface<IEntityTransferModule>();
2310 if (m_agentTransfer != null) 2310 if (m_agentTransfer != null)
@@ -2318,11 +2318,13 @@ namespace OpenSim.Region.Framework.Scenes
2318 2318
2319 m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel; 2319 m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel;
2320 m_childUpdatesBusy = false; // allow them 2320 m_childUpdatesBusy = false; // allow them
2321
2321 } 2322 }
2323
2322 // send the rest of the world 2324 // send the rest of the world
2323 if (m_teleportFlags > 0 || m_currentParcelHide) 2325 //if (m_teleportFlags > 0 || m_currentParcelHide)
2324 //SendInitialDataToMe(); 2326 //SendInitialDataToMe();
2325 SendOtherAgentsAvatarFullToMe(); 2327 //SendOtherAgentsAvatarFullToMe();
2326 2328
2327 // priority uses avatar position only 2329 // priority uses avatar position only
2328 // m_reprioritizationLastPosition = AbsolutePosition; 2330 // m_reprioritizationLastPosition = AbsolutePosition;
@@ -4064,10 +4066,10 @@ namespace OpenSim.Region.Framework.Scenes
4064 ILandChannel landch = m_scene.LandChannel; 4066 ILandChannel landch = m_scene.LandChannel;
4065 if (landch != null) 4067 if (landch != null)
4066 landch.sendClientInitialLandInfo(ControllingClient, true); 4068 landch.sendClientInitialLandInfo(ControllingClient, true);
4067
4068 SendOtherAgentsAvatarFullToMe();
4069 } 4069 }
4070 4070
4071 SendOtherAgentsAvatarFullToMe();
4072
4071 if (m_scene.ObjectsCullingByDistance) 4073 if (m_scene.ObjectsCullingByDistance)
4072 { 4074 {
4073 m_reprioritizationBusy = true; 4075 m_reprioritizationBusy = true;