diff options
author | Melanie Thielker | 2008-10-05 04:26:26 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-05 04:26:26 +0000 |
commit | c3d7d7bb5184e68ff10b4dc5cecc01b03672acac (patch) | |
tree | a268eab337af724a54dbcae814d56b26e34d3dcb | |
parent | Add a dummy "dwell" value to the data snapshot (diff) | |
download | opensim-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
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/DataSnapshot/LandSnapshot.cs | 2 |
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"); |