diff options
author | Tedd Hansen | 2008-01-19 21:16:22 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-19 21:16:22 +0000 |
commit | 9e9ba262f7e32e322d6026b7693503f242896eb0 (patch) | |
tree | de97158aa689ddfda46f1ac49e9c462e35d2cc43 /OpenSim/Region/Environment/LandManagement/LandManager.cs | |
parent | Added exception handler to LandManager IncomingLandObjectFromStorage (diff) | |
download | opensim-SC-9e9ba262f7e32e322d6026b7693503f242896eb0.zip opensim-SC-9e9ba262f7e32e322d6026b7693503f242896eb0.tar.gz opensim-SC-9e9ba262f7e32e322d6026b7693503f242896eb0.tar.bz2 opensim-SC-9e9ba262f7e32e322d6026b7693503f242896eb0.tar.xz |
More debugging
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/LandManager.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs index bdb50cc..155c91f 100644 --- a/OpenSim/Region/Environment/LandManagement/LandManager.cs +++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs | |||
@@ -127,7 +127,7 @@ namespace OpenSim.Region.Environment.LandManagement | |||
127 | } | 127 | } |
128 | catch (Exception ex) | 128 | catch (Exception ex) |
129 | { | 129 | { |
130 | MainLog.Instance.Verbose("LandManager", "IncomingLandObjectsFromStorage: Exception: " + ex.ToString() ); | 130 | MainLog.Instance.Error("LandManager", "IncomingLandObjectsFromStorage: Exception: " + ex.ToString()); |
131 | } | 131 | } |
132 | } | 132 | } |
133 | //foreach (LandData parcel in data) | 133 | //foreach (LandData parcel in data) |
@@ -178,12 +178,14 @@ namespace OpenSim.Region.Environment.LandManagement | |||
178 | public Land addLandObject(Land new_land) | 178 | public Land addLandObject(Land new_land) |
179 | { | 179 | { |
180 | // TODO: REMOVE (TEDD) | 180 | // TODO: REMOVE (TEDD) |
181 | Console.WriteLine("addLandObject()"); | 181 | MainLog.Instance.Verbose("LandManager", "addLandObject()"); |
182 | lastLandLocalID++; | 182 | lastLandLocalID++; |
183 | new_land.landData.localID = lastLandLocalID; | 183 | new_land.landData.localID = lastLandLocalID; |
184 | landList.Add(lastLandLocalID, new_land.Copy()); | 184 | landList.Add(lastLandLocalID, new_land.Copy()); |
185 | 185 | ||
186 | 186 | ||
187 | // TODO: REMOVE (TEDD) | ||
188 | MainLog.Instance.Verbose("LandManager", "new_land.getLandBitmap()"); | ||
187 | bool[,] landBitmap = new_land.getLandBitmap(); | 189 | bool[,] landBitmap = new_land.getLandBitmap(); |
188 | int x, y; | 190 | int x, y; |
189 | for (x = 0; x < 64; x++) | 191 | for (x = 0; x < 64; x++) |
@@ -196,8 +198,12 @@ namespace OpenSim.Region.Environment.LandManagement | |||
196 | } | 198 | } |
197 | } | 199 | } |
198 | } | 200 | } |
201 | // TODO: REMOVE (TEDD) | ||
202 | MainLog.Instance.Verbose("LandManager", "forceUpdateLandInfo()"); | ||
199 | landList[lastLandLocalID].forceUpdateLandInfo(); | 203 | landList[lastLandLocalID].forceUpdateLandInfo(); |
204 | MainLog.Instance.Verbose("LandManager", "TriggerLandObjectAdded"); | ||
200 | m_scene.EventManager.TriggerLandObjectAdded(new_land, m_scene.RegionInfo.RegionID); | 205 | m_scene.EventManager.TriggerLandObjectAdded(new_land, m_scene.RegionInfo.RegionID); |
206 | MainLog.Instance.Verbose("LandManager", "end of addLandObject()"); | ||
201 | return new_land; | 207 | return new_land; |
202 | } | 208 | } |
203 | 209 | ||