aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/DataSnapshot
diff options
context:
space:
mode:
authorTeravus Ovares2009-07-25 15:49:10 +0000
committerTeravus Ovares2009-07-25 15:49:10 +0000
commit64bd9a335444379ebe1cad8e34d5b5953a76f671 (patch)
tree66b9ce07dbf95e4c118e3d639068e2c44fc52f58 /OpenSim/Region/DataSnapshot
parent* Apply http://opensimulator.org/mantis/view.php?id=3586 (diff)
downloadopensim-SC_OLD-64bd9a335444379ebe1cad8e34d5b5953a76f671.zip
opensim-SC_OLD-64bd9a335444379ebe1cad8e34d5b5953a76f671.tar.gz
opensim-SC_OLD-64bd9a335444379ebe1cad8e34d5b5953a76f671.tar.bz2
opensim-SC_OLD-64bd9a335444379ebe1cad8e34d5b5953a76f671.tar.xz
* Updates libOMV to version 0.7.0
* Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
Diffstat (limited to 'OpenSim/Region/DataSnapshot')
-rw-r--r--OpenSim/Region/DataSnapshot/LandSnapshot.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/DataSnapshot/LandSnapshot.cs b/OpenSim/Region/DataSnapshot/LandSnapshot.cs
index fd6490e..005659f 100644
--- a/OpenSim/Region/DataSnapshot/LandSnapshot.cs
+++ b/OpenSim/Region/DataSnapshot/LandSnapshot.cs
@@ -87,7 +87,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
87 //Index sim land 87 //Index sim land
88 foreach (KeyValuePair<int, Land> curLand in m_scene.LandManager.landList) 88 foreach (KeyValuePair<int, Land> curLand in m_scene.LandManager.landList)
89 { 89 {
90 //if ((curLand.Value.landData.landFlags & (uint)Parcel.ParcelFlags.ShowDirectory) == (uint)Parcel.ParcelFlags.ShowDirectory) 90 //if ((curLand.Value.landData.landFlags & (uint)ParcelFlags.ShowDirectory) == (uint)ParcelFlags.ShowDirectory)
91 //{ 91 //{
92 m_landIndexed.Add(curLand.Key, curLand.Value.Copy()); 92 m_landIndexed.Add(curLand.Key, curLand.Value.Copy());
93 //} 93 //}
@@ -138,7 +138,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
138 LandData parcel = land.landData; 138 LandData parcel = land.landData;
139 if (m_parent.ExposureLevel.Equals("all") || 139 if (m_parent.ExposureLevel.Equals("all") ||
140 (m_parent.ExposureLevel.Equals("minimum") && 140 (m_parent.ExposureLevel.Equals("minimum") &&
141 (parcel.Flags & (uint)Parcel.ParcelFlags.ShowDirectory) == (uint)Parcel.ParcelFlags.ShowDirectory)) 141 (parcel.Flags & (uint)ParcelFlags.ShowDirectory) == (uint)ParcelFlags.ShowDirectory))
142 { 142 {
143 143
144 //TODO: make better method of marshalling data from LandData to XmlNode 144 //TODO: make better method of marshalling data from LandData to XmlNode
@@ -315,7 +315,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
315 315
316 private string GetScriptsPermissions(LandData parcel) 316 private string GetScriptsPermissions(LandData parcel)
317 { 317 {
318 if ((parcel.Flags & (uint)Parcel.ParcelFlags.AllowOtherScripts) == (uint)Parcel.ParcelFlags.AllowOtherScripts) 318 if ((parcel.Flags & (uint)ParcelFlags.AllowOtherScripts) == (uint)ParcelFlags.AllowOtherScripts)
319 return "true"; 319 return "true";
320 else 320 else
321 return "false"; 321 return "false";
@@ -324,7 +324,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
324 324
325 private string GetPublicPermissions(LandData parcel) 325 private string GetPublicPermissions(LandData parcel)
326 { 326 {
327 if ((parcel.Flags & (uint)Parcel.ParcelFlags.UseAccessList) == (uint)Parcel.ParcelFlags.UseAccessList) 327 if ((parcel.Flags & (uint)ParcelFlags.UseAccessList) == (uint)ParcelFlags.UseAccessList)
328 return "false"; 328 return "false";
329 else 329 else
330 return "true"; 330 return "true";
@@ -333,7 +333,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
333 333
334 private string GetBuildPermissions(LandData parcel) 334 private string GetBuildPermissions(LandData parcel)
335 { 335 {
336 if ((parcel.Flags & (uint)Parcel.ParcelFlags.CreateObjects) == (uint)Parcel.ParcelFlags.CreateObjects) 336 if ((parcel.Flags & (uint)ParcelFlags.CreateObjects) == (uint)ParcelFlags.CreateObjects)
337 return "true"; 337 return "true";
338 else 338 else
339 return "false"; 339 return "false";
@@ -342,7 +342,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
342 342
343 private string CheckForSale(LandData parcel) 343 private string CheckForSale(LandData parcel)
344 { 344 {
345 if ((parcel.Flags & (uint)Parcel.ParcelFlags.ForSale) == (uint)Parcel.ParcelFlags.ForSale) 345 if ((parcel.Flags & (uint)ParcelFlags.ForSale) == (uint)ParcelFlags.ForSale)
346 return "true"; 346 return "true";
347 else 347 else
348 return "false"; 348 return "false";
@@ -350,7 +350,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
350 350
351 private string GetShowInSearch(LandData parcel) 351 private string GetShowInSearch(LandData parcel)
352 { 352 {
353 if ((parcel.Flags & (uint)Parcel.ParcelFlags.ShowDirectory) == (uint)Parcel.ParcelFlags.ShowDirectory) 353 if ((parcel.Flags & (uint)ParcelFlags.ShowDirectory) == (uint)ParcelFlags.ShowDirectory)
354 return "true"; 354 return "true";
355 else 355 else
356 return "false"; 356 return "false";