diff options
author | Melanie Thielker | 2010-06-26 06:16:24 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-06-26 06:16:24 +0200 |
commit | 6274317e63e18785a2c3d96514ca371e0a04cf71 (patch) | |
tree | 499d439844c79e47e32ec1060d2ed8228703386d /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-6274317e63e18785a2c3d96514ca371e0a04cf71.zip opensim-SC-6274317e63e18785a2c3d96514ca371e0a04cf71.tar.gz opensim-SC-6274317e63e18785a2c3d96514ca371e0a04cf71.tar.bz2 opensim-SC-6274317e63e18785a2c3d96514ca371e0a04cf71.tar.xz |
Fix loading of attachments on login
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 654e9ce..4a4cac9 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4151,7 +4151,14 @@ Console.WriteLine("Scripted Sit ofset {0}", m_pos); | |||
4151 | { | 4151 | { |
4152 | m_log.DebugFormat("[ATTACHMENT]: Loading attachment data from attachment service"); | 4152 | m_log.DebugFormat("[ATTACHMENT]: Loading attachment data from attachment service"); |
4153 | stateData = attServ.Get(ControllingClient.AgentId.ToString()); | 4153 | stateData = attServ.Get(ControllingClient.AgentId.ToString()); |
4154 | doc.LoadXml(stateData); | 4154 | if (stateData != String.Empty) |
4155 | { | ||
4156 | try | ||
4157 | { | ||
4158 | doc.LoadXml(stateData); | ||
4159 | } | ||
4160 | catch { } | ||
4161 | } | ||
4155 | } | 4162 | } |
4156 | 4163 | ||
4157 | Dictionary<UUID, string> itemData = new Dictionary<UUID, string>(); | 4164 | Dictionary<UUID, string> itemData = new Dictionary<UUID, string>(); |