From 1ff4711cfb9bd6562ad67531cc1667fae8d057db Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 8 Feb 2008 03:20:11 +0000 Subject: [PATCH] * Fix: Send Parcel data on region crossing. --- OpenSim/Region/Environment/Scenes/Scene.cs | 1 + OpenSim/Region/Environment/Scenes/ScenePresence.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index a62e6c6d2b..dd1c538a75 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -627,6 +627,7 @@ namespace OpenSim.Region.Environment.Scenes updateLock.WaitOne(); float physicsFPS = 0; int agentsInScene = m_innerScene.GetRootAgentCount() + m_innerScene.GetChildAgentCount(); + if (agentsInScene > 21) { diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 374586c1f1..6fae71b77a 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -520,6 +520,8 @@ namespace OpenSim.Region.Environment.Scenes //if (!m_gotAllObjectsInScene) //{ m_scene.SendAllSceneObjectsToClient(this); + m_scene.LandManager.sendLandUpdate(this, true); + //m_gotAllObjectsInScene = true; //} }