From ca772be0d4616bffde294a404c4a601cf5575f13 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 19 Jan 2008 11:17:12 +0000 Subject: Still hunting, added debug output --- OpenSim/Region/Environment/Scenes/Scene.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index c6f9aff..4e9db5c 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -519,6 +519,7 @@ namespace OpenSim.Region.Environment.Scenes /// public void StartTimer() { + MainLog.Instance.Debug("SCENE", "Starting timer") m_heartbeatTimer.Enabled = true; m_heartbeatTimer.Interval = (int) (m_timespan*1000); m_heartbeatTimer.Elapsed += new ElapsedEventHandler(Heartbeat); @@ -908,6 +909,7 @@ namespace OpenSim.Region.Environment.Scenes { m_LandManager.IncomingLandObjectsFromStorage(landData); } + MainLog.Instance.Debug("SCENE", "Done loading land objects from storage"); } #endregion @@ -1701,10 +1703,15 @@ namespace OpenSim.Region.Environment.Scenes /// public void performParcelPrimCountUpdate() { - m_LandManager.resetAllLandPrimCounts(); - m_eventManager.TriggerParcelPrimCountUpdate(); - m_LandManager.finalizeLandPrimCountUpdate(); + MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: resetAllLandPrimCounts()"); + m_LandManager.resetAllLandPrimCounts(); + MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: TriggerParcelPrimCountUpdate()"); + m_eventManager.TriggerParcelPrimCountUpdate(); + MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: finalizeLandPrimCountUpdate()"); + m_LandManager.finalizeLandPrimCountUpdate(); + MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: landPrimCountTainted = false"); m_LandManager.landPrimCountTainted = false; + MainLog.Instance.Debug("SCENE", "Performing parcel prim count update: Done"); } /// -- cgit v1.1