diff options
author | Justin Clarke Casey | 2008-05-31 21:21:46 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-31 21:21:46 +0000 |
commit | 161dfe9b6850111a0a187733d400532a245eccd5 (patch) | |
tree | dfeb2ed3371aaa9edfe7833ef5adb9e06c35be22 /OpenSim/Framework/TaskInventoryItem.cs | |
parent | * Put in preparatory code to restore whole prim textures on archive load (diff) | |
download | opensim-SC-161dfe9b6850111a0a187733d400532a245eccd5.zip opensim-SC-161dfe9b6850111a0a187733d400532a245eccd5.tar.gz opensim-SC-161dfe9b6850111a0a187733d400532a245eccd5.tar.bz2 opensim-SC-161dfe9b6850111a0a187733d400532a245eccd5.tar.xz |
* minor: comment out old debugging messages in task inventory item restoration routines
Diffstat (limited to 'OpenSim/Framework/TaskInventoryItem.cs')
-rw-r--r-- | OpenSim/Framework/TaskInventoryItem.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index f92d150..211d4ab 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs | |||
@@ -90,7 +90,7 @@ namespace OpenSim.Framework | |||
90 | // see IXmlSerializable | 90 | // see IXmlSerializable |
91 | public void ReadXml(XmlReader reader) | 91 | public void ReadXml(XmlReader reader) |
92 | { | 92 | { |
93 | m_log.DebugFormat("[TASK INVENTORY]: ReadXml current node before actions, {0}", reader.Name); | 93 | //m_log.DebugFormat("[TASK INVENTORY]: ReadXml current node before actions, {0}", reader.Name); |
94 | 94 | ||
95 | if (!reader.IsEmptyElement) | 95 | if (!reader.IsEmptyElement) |
96 | { | 96 | { |
@@ -100,21 +100,21 @@ namespace OpenSim.Framework | |||
100 | TaskInventoryItem item = (TaskInventoryItem) tiiSerializer.Deserialize(reader); | 100 | TaskInventoryItem item = (TaskInventoryItem) tiiSerializer.Deserialize(reader); |
101 | Add(item.ItemID, item); | 101 | Add(item.ItemID, item); |
102 | 102 | ||
103 | m_log.DebugFormat("[TASK INVENTORY]: Instanted prim item {0}, {1} from xml", item.Name, item.ItemID); | 103 | //m_log.DebugFormat("[TASK INVENTORY]: Instanted prim item {0}, {1} from xml", item.Name, item.ItemID); |
104 | } | 104 | } |
105 | 105 | ||
106 | m_log.DebugFormat("[TASK INVENTORY]: Instantiated {0} prim items in total from xml", Count); | 106 | // m_log.DebugFormat("[TASK INVENTORY]: Instantiated {0} prim items in total from xml", Count); |
107 | } | 107 | } |
108 | else | 108 | else |
109 | { | 109 | { |
110 | m_log.DebugFormat("[TASK INVENTORY]: Skipping empty element {0}", reader.Name); | 110 | //m_log.DebugFormat("[TASK INVENTORY]: Skipping empty element {0}", reader.Name); |
111 | } | 111 | } |
112 | 112 | ||
113 | // For some .net implementations, this last read is necessary so that we advance beyond the end tag | 113 | // For some .net implementations, this last read is necessary so that we advance beyond the end tag |
114 | // of the element wrapping this object so that the rest of the serialization can complete normally. | 114 | // of the element wrapping this object so that the rest of the serialization can complete normally. |
115 | reader.Read(); | 115 | reader.Read(); |
116 | 116 | ||
117 | m_log.DebugFormat("[TASK INVENTORY]: ReadXml current node after actions, {0}", reader.Name); | 117 | //m_log.DebugFormat("[TASK INVENTORY]: ReadXml current node after actions, {0}", reader.Name); |
118 | } | 118 | } |
119 | 119 | ||
120 | // see IXmlSerializable | 120 | // see IXmlSerializable |