aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs9
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>();