* minor: comment out old debugging messages in task inventory item restoration routines

0.6.0-stable
Justin Clarke Casey 2008-05-31 21:21:46 +00:00
parent abaf8e7a37
commit 161dfe9b68
1 changed files with 5 additions and 5 deletions

View File

@ -90,7 +90,7 @@ namespace OpenSim.Framework
// see IXmlSerializable
public void ReadXml(XmlReader reader)
{
m_log.DebugFormat("[TASK INVENTORY]: ReadXml current node before actions, {0}", reader.Name);
//m_log.DebugFormat("[TASK INVENTORY]: ReadXml current node before actions, {0}", reader.Name);
if (!reader.IsEmptyElement)
{
@ -100,21 +100,21 @@ namespace OpenSim.Framework
TaskInventoryItem item = (TaskInventoryItem) tiiSerializer.Deserialize(reader);
Add(item.ItemID, item);
m_log.DebugFormat("[TASK INVENTORY]: Instanted prim item {0}, {1} from xml", item.Name, item.ItemID);
//m_log.DebugFormat("[TASK INVENTORY]: Instanted prim item {0}, {1} from xml", item.Name, item.ItemID);
}
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);
}
else
{
m_log.DebugFormat("[TASK INVENTORY]: Skipping empty element {0}", reader.Name);
//m_log.DebugFormat("[TASK INVENTORY]: Skipping empty element {0}", reader.Name);
}
// For some .net implementations, this last read is necessary so that we advance beyond the end tag
// of the element wrapping this object so that the rest of the serialization can complete normally.
reader.Read();
m_log.DebugFormat("[TASK INVENTORY]: ReadXml current node after actions, {0}", reader.Name);
//m_log.DebugFormat("[TASK INVENTORY]: ReadXml current node after actions, {0}", reader.Name);
}
// see IXmlSerializable