From 4b56e0e3246ed7d1fbc69c7d11137dde5142976a Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sat, 19 Jan 2008 21:33:39 +0000 Subject: removed additional debugging, added temp mega-debugging to StoreLandObject --- OpenSim/Region/Environment/LandManagement/Land.cs | 6 ------ OpenSim/Region/Environment/LandManagement/LandManager.cs | 16 ---------------- OpenSim/Region/Environment/Scenes/Scene.cs | 5 ----- 3 files changed, 27 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/LandManagement/Land.cs b/OpenSim/Region/Environment/LandManagement/Land.cs index cd56aae..7cc8519 100644 --- a/OpenSim/Region/Environment/LandManagement/Land.cs +++ b/OpenSim/Region/Environment/LandManagement/Land.cs @@ -447,14 +447,8 @@ namespace OpenSim.Region.Environment.LandManagement /// public void forceUpdateLandInfo() { - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "updateAABBAndAreaValues()"); updateAABBAndAreaValues(); - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "updateLandBitmapByteArray()"); updateLandBitmapByteArray(); - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "end of forceUpdateLandInfo()"); } public void setLandBitmapFromByteArray() diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 155c91f..55a5b5f 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs @@ -138,17 +138,9 @@ namespace OpenSim.Region.Environment.LandManagement public void IncomingLandObjectFromStorage(LandData data) { - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "IncomingLandObjectFromStorage: " + data.localID); Land new_land = new Land(data.ownerID, data.isGroupOwned, m_scene); - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "IncomingLandObjectFromStorage: data.Copy()"); new_land.landData = data.Copy(); - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "IncomingLandObjectFromStorage: new_land.setLandBitmapFromByteArray()"); new_land.setLandBitmapFromByteArray(); - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "IncomingLandObjectFromStorage: addLandObject(new_land)"); addLandObject(new_land); } @@ -177,15 +169,11 @@ namespace OpenSim.Region.Environment.LandManagement /// The land object being added public Land addLandObject(Land new_land) { - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "addLandObject()"); lastLandLocalID++; new_land.landData.localID = lastLandLocalID; landList.Add(lastLandLocalID, new_land.Copy()); - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "new_land.getLandBitmap()"); bool[,] landBitmap = new_land.getLandBitmap(); int x, y; for (x = 0; x < 64; x++) @@ -198,12 +186,8 @@ namespace OpenSim.Region.Environment.LandManagement } } } - // TODO: REMOVE (TEDD) - MainLog.Instance.Verbose("LandManager", "forceUpdateLandInfo()"); landList[lastLandLocalID].forceUpdateLandInfo(); - MainLog.Instance.Verbose("LandManager", "TriggerLandObjectAdded"); m_scene.EventManager.TriggerLandObjectAdded(new_land, m_scene.RegionInfo.RegionID); - MainLog.Instance.Verbose("LandManager", "end of addLandObject()"); return new_land; } diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 9e13fe7..f327b2b 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -1703,15 +1703,10 @@ namespace OpenSim.Region.Environment.Scenes /// public void performParcelPrimCountUpdate() { - MainLog.Instance.Verbose("SCENE", "Performing parcel prim count update: resetAllLandPrimCounts()"); m_LandManager.resetAllLandPrimCounts(); - MainLog.Instance.Verbose("SCENE", "Performing parcel prim count update: TriggerParcelPrimCountUpdate()"); m_eventManager.TriggerParcelPrimCountUpdate(); - MainLog.Instance.Verbose("SCENE", "Performing parcel prim count update: finalizeLandPrimCountUpdate()"); m_LandManager.finalizeLandPrimCountUpdate(); - MainLog.Instance.Verbose("SCENE", "Performing parcel prim count update: landPrimCountTainted = false"); m_LandManager.landPrimCountTainted = false; - MainLog.Instance.Verbose("SCENE", "Performing parcel prim count update: Done"); } /// -- cgit v1.1