From b9b99ee87c1ce5fc52ed91adb5f8e417604bde0d Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 3 Apr 2008 17:13:45 +0000 Subject: [PATCH] * Attempted resolution for mantis 854 * Also adds more temporary debugging goo in case the fix didn't work --- OpenSim/Framework/TaskInventoryItem.cs | 4 ++++ OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 3 +++ 2 files changed, 7 insertions(+) diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index 275d263ba0..aa4b9eb8f2 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs @@ -82,6 +82,10 @@ namespace OpenSim.Framework m_log.DebugFormat("[TASK INVENTORY]: Instantiated {0} prim items in total from xml", Count); + reader.Read(); + + m_log.DebugFormat("[TASK INVENTORY]: Current node {0}", reader.Name); + // reader.Read(); // while (reader.Name.Equals("TaskInventoryItem")) // { diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 6761fb4d4a..d12de19318 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -301,6 +301,9 @@ namespace OpenSim.Region.Environment.Scenes reader.ReadStartElement("RootPart"); m_rootPart = SceneObjectPart.FromXml(reader); AddPart(m_rootPart); + + m_log.DebugFormat("[SCENE OBJECT GROUP]: Current node {0}", reader.Name); + reader.ReadEndElement(); while (reader.Read())