diff options
author | Tedd Hansen | 2008-01-19 20:45:09 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-19 20:45:09 +0000 |
commit | 4ab19afc0a599a575baeab3a06872804b3f5108e (patch) | |
tree | 323845175df6d275b106c8b8350ebba6118a102a /OpenSim/Region/Environment/LandManagement/LandManager.cs | |
parent | checking return code may make failed teleports fail more gracefully. (diff) | |
download | opensim-SC_OLD-4ab19afc0a599a575baeab3a06872804b3f5108e.zip opensim-SC_OLD-4ab19afc0a599a575baeab3a06872804b3f5108e.tar.gz opensim-SC_OLD-4ab19afc0a599a575baeab3a06872804b3f5108e.tar.bz2 opensim-SC_OLD-4ab19afc0a599a575baeab3a06872804b3f5108e.tar.xz |
More debugging
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement/LandManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/LandManager.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index 3969932..3bd8848 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs | |||
@@ -127,9 +127,17 @@ namespace OpenSim.Region.Environment.LandManagement | |||
127 | 127 | ||
128 | public void IncomingLandObjectFromStorage(LandData data) | 128 | public void IncomingLandObjectFromStorage(LandData data) |
129 | { | 129 | { |
130 | // TODO: REMOVE (TEDD) | ||
131 | MainLog.Instance.Verbose("LandManager", "IncomingLandObjectFromStorage: " + data.localID); | ||
130 | Land new_land = new Land(data.ownerID, data.isGroupOwned, m_scene); | 132 | Land new_land = new Land(data.ownerID, data.isGroupOwned, m_scene); |
133 | // TODO: REMOVE (TEDD) | ||
134 | MainLog.Instance.Verbose("LandManager", "IncomingLandObjectFromStorage: data.Copy()"); | ||
131 | new_land.landData = data.Copy(); | 135 | new_land.landData = data.Copy(); |
136 | // TODO: REMOVE (TEDD) | ||
137 | MainLog.Instance.Verbose("LandManager", "IncomingLandObjectFromStorage: new_land.setLandBitmapFromByteArray()"); | ||
132 | new_land.setLandBitmapFromByteArray(); | 138 | new_land.setLandBitmapFromByteArray(); |
139 | // TODO: REMOVE (TEDD) | ||
140 | MainLog.Instance.Verbose("LandManager", "IncomingLandObjectFromStorage: addLandObject(new_land)"); | ||
133 | addLandObject(new_land); | 141 | addLandObject(new_land); |
134 | } | 142 | } |
135 | 143 | ||
@@ -158,6 +166,8 @@ namespace OpenSim.Region.Environment.LandManagement | |||
158 | /// <param name="new_land">The land object being added</param> | 166 | /// <param name="new_land">The land object being added</param> |
159 | public Land addLandObject(Land new_land) | 167 | public Land addLandObject(Land new_land) |
160 | { | 168 | { |
169 | // TODO: REMOVE (TEDD) | ||
170 | Console.WriteLine("addLandObject()"); | ||
161 | lastLandLocalID++; | 171 | lastLandLocalID++; |
162 | new_land.landData.localID = lastLandLocalID; | 172 | new_land.landData.localID = lastLandLocalID; |
163 | landList.Add(lastLandLocalID, new_land.Copy()); | 173 | landList.Add(lastLandLocalID, new_land.Copy()); |