* Attempted resolution for mantis 854

* Also adds more temporary debugging goo in case the fix didn't work
0.6.0-stable
Justin Clarke Casey 2008-04-03 17:13:45 +00:00
parent 042cd57e94
commit b9b99ee87c
2 changed files with 7 additions and 0 deletions

View File

@ -82,6 +82,10 @@ namespace OpenSim.Framework
m_log.DebugFormat("[TASK INVENTORY]: Instantiated {0} prim items in total from xml", Count); 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(); // reader.Read();
// while (reader.Name.Equals("TaskInventoryItem")) // while (reader.Name.Equals("TaskInventoryItem"))
// { // {

View File

@ -301,6 +301,9 @@ namespace OpenSim.Region.Environment.Scenes
reader.ReadStartElement("RootPart"); reader.ReadStartElement("RootPart");
m_rootPart = SceneObjectPart.FromXml(reader); m_rootPart = SceneObjectPart.FromXml(reader);
AddPart(m_rootPart); AddPart(m_rootPart);
m_log.DebugFormat("[SCENE OBJECT GROUP]: Current node {0}", reader.Name);
reader.ReadEndElement(); reader.ReadEndElement();
while (reader.Read()) while (reader.Read())