aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-05 04:26:26 +0000
committerMelanie Thielker2008-10-05 04:26:26 +0000
commitc3d7d7bb5184e68ff10b4dc5cecc01b03672acac (patch)
treea268eab337af724a54dbcae814d56b26e34d3dcb
parentAdd a dummy "dwell" value to the data snapshot (diff)
downloadopensim-SC_OLD-c3d7d7bb5184e68ff10b4dc5cecc01b03672acac.zip
opensim-SC_OLD-c3d7d7bb5184e68ff10b4dc5cecc01b03672acac.tar.gz
opensim-SC_OLD-c3d7d7bb5184e68ff10b4dc5cecc01b03672acac.tar.bz2
opensim-SC_OLD-c3d7d7bb5184e68ff10b4dc5cecc01b03672acac.tar.xz
Change category in snapshot to a number, to match the one in search
-rw-r--r--OpenSim/Region/DataSnapshot/LandSnapshot.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/DataSnapshot/LandSnapshot.cs b/OpenSim/Region/DataSnapshot/LandSnapshot.cs
index c4328e2..5b75417 100644
--- a/OpenSim/Region/DataSnapshot/LandSnapshot.cs
+++ b/OpenSim/Region/DataSnapshot/LandSnapshot.cs
@@ -151,7 +151,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
151 public_attr.Value = GetPublicPermissions(parcel); 151 public_attr.Value = GetPublicPermissions(parcel);
152 // Check the category of the Parcel 152 // Check the category of the Parcel
153 XmlAttribute category_attr = nodeFactory.CreateAttribute("category"); 153 XmlAttribute category_attr = nodeFactory.CreateAttribute("category");
154 category_attr.Value = parcel.Category.ToString(); 154 category_attr.Value = ((int)parcel.Category).ToString();
155 155
156 156
157 //XmlAttribute entities_attr = nodeFactory.CreateAttribute("entities"); 157 //XmlAttribute entities_attr = nodeFactory.CreateAttribute("entities");