aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/DataSnapshot/SnapshotStore.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-17 23:08:46 +0000
committerMelanie Thielker2008-09-17 23:08:46 +0000
commit386c3e41f0e92737f0478cf789438e8fb3c3c1e3 (patch)
tree0c59cfa1bcd57fb2c03029bf0a549fc248a1baf6 /OpenSim/Region/DataSnapshot/SnapshotStore.cs
parentKan-Ed fix series. Fix llTakeControls to behave as documented. (diff)
downloadopensim-SC_OLD-386c3e41f0e92737f0478cf789438e8fb3c3c1e3.zip
opensim-SC_OLD-386c3e41f0e92737f0478cf789438e8fb3c3c1e3.tar.gz
opensim-SC_OLD-386c3e41f0e92737f0478cf789438e8fb3c3c1e3.tar.bz2
opensim-SC_OLD-386c3e41f0e92737f0478cf789438e8fb3c3c1e3.tar.xz
Add various XML elements to the data snapshot. Changes by Fly-Man and
myself. Fix a crash in DataSnapshot when no master avatar and no estate owner is set (e.g. "Mainland").
Diffstat (limited to 'OpenSim/Region/DataSnapshot/SnapshotStore.cs')
-rw-r--r--OpenSim/Region/DataSnapshot/SnapshotStore.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/DataSnapshot/SnapshotStore.cs b/OpenSim/Region/DataSnapshot/SnapshotStore.cs
index e169a86..311350d 100644
--- a/OpenSim/Region/DataSnapshot/SnapshotStore.cs
+++ b/OpenSim/Region/DataSnapshot/SnapshotStore.cs
@@ -245,6 +245,10 @@ namespace OpenSim.Region.DataSnapshot
245 infopiece.InnerText = scene.RegionInfo.RegionName; 245 infopiece.InnerText = scene.RegionInfo.RegionName;
246 infoblock.AppendChild(infopiece); 246 infoblock.AppendChild(infopiece);
247 247
248 infopiece = basedoc.CreateNode(XmlNodeType.Element, "handle", "");
249 infopiece.InnerText = scene.RegionInfo.RegionHandle.ToString();
250 infoblock.AppendChild(infopiece);
251
248 docElement.AppendChild(infoblock); 252 docElement.AppendChild(infoblock);
249 253
250 m_log.Debug("[DATASNAPSHOT]: Generated region node"); 254 m_log.Debug("[DATASNAPSHOT]: Generated region node");