diff options
author | Justin Clarke Casey | 2009-04-24 15:02:48 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-24 15:02:48 +0000 |
commit | d69a018ba84beede1f84f06eb17ab799133e006a (patch) | |
tree | aad6e2c01950e5123f6b0ecfdf407f5a5a83d590 /OpenSim/Framework | |
parent | silly C# not letting me use a File.Exists test for a directory. Don't (diff) | |
download | opensim-SC_OLD-d69a018ba84beede1f84f06eb17ab799133e006a.zip opensim-SC_OLD-d69a018ba84beede1f84f06eb17ab799133e006a.tar.gz opensim-SC_OLD-d69a018ba84beede1f84f06eb17ab799133e006a.tar.bz2 opensim-SC_OLD-d69a018ba84beede1f84f06eb17ab799133e006a.tar.xz |
* Write basic, incomplete load iar test
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs index d51107d..5fd5ab5 100644 --- a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs +++ b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | |||
@@ -76,9 +76,7 @@ namespace OpenSim.Framework.Serialization.External | |||
76 | reader.ReadStartElement("InvType"); | 76 | reader.ReadStartElement("InvType"); |
77 | item.InvType = Convert.ToInt32(reader.ReadString()); | 77 | item.InvType = Convert.ToInt32(reader.ReadString()); |
78 | reader.ReadEndElement(); | 78 | reader.ReadEndElement(); |
79 | reader.ReadStartElement("CreatorUUID"); | 79 | item.CreatorId = reader.ReadElementString("CreatorUUID"); |
80 | item.CreatorId = reader.ReadString(); | ||
81 | reader.ReadEndElement(); | ||
82 | reader.ReadStartElement("CreationDate"); | 80 | reader.ReadStartElement("CreationDate"); |
83 | item.CreationDate = Convert.ToInt32(reader.ReadString()); | 81 | item.CreationDate = Convert.ToInt32(reader.ReadString()); |
84 | reader.ReadEndElement(); | 82 | reader.ReadEndElement(); |