* minor: comment out old debugging messages in task inventory item restoration routines
parent
abaf8e7a37
commit
161dfe9b68
|
@ -90,7 +90,7 @@ namespace OpenSim.Framework
|
||||||
// see IXmlSerializable
|
// see IXmlSerializable
|
||||||
public void ReadXml(XmlReader reader)
|
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)
|
if (!reader.IsEmptyElement)
|
||||||
{
|
{
|
||||||
|
@ -100,21 +100,21 @@ namespace OpenSim.Framework
|
||||||
TaskInventoryItem item = (TaskInventoryItem) tiiSerializer.Deserialize(reader);
|
TaskInventoryItem item = (TaskInventoryItem) tiiSerializer.Deserialize(reader);
|
||||||
Add(item.ItemID, item);
|
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
|
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
|
// 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.
|
// of the element wrapping this object so that the rest of the serialization can complete normally.
|
||||||
reader.Read();
|
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
|
// see IXmlSerializable
|
||||||
|
|
Loading…
Reference in New Issue