diff options
author | opensim mirror account | 2010-10-19 15:20:04 -0700 |
---|---|---|
committer | opensim mirror account | 2010-10-19 15:20:04 -0700 |
commit | d54b25baaa3f2e11f3cb93678b38619f9c9fe378 (patch) | |
tree | e6796a62cca642b7e1864e21110e65416a25ffef | |
parent | Merge branch 'master' of /var/git/opensim/ (diff) | |
parent | It looks like Vector3s also got written down in lower case at some point in t... (diff) | |
download | opensim-SC-d54b25baaa3f2e11f3cb93678b38619f9c9fe378.zip opensim-SC-d54b25baaa3f2e11f3cb93678b38619f9c9fe378.tar.gz opensim-SC-d54b25baaa3f2e11f3cb93678b38619f9c9fe378.tar.bz2 opensim-SC-d54b25baaa3f2e11f3cb93678b38619f9c9fe378.tar.xz |
Merge branch 'master' of /var/git/opensim/
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 58ec8a6..044b599 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -1425,9 +1425,9 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1425 | Vector3 vec; | 1425 | Vector3 vec; |
1426 | 1426 | ||
1427 | reader.ReadStartElement(name); | 1427 | reader.ReadStartElement(name); |
1428 | vec.X = reader.ReadElementContentAsFloat("X", String.Empty); | 1428 | vec.X = reader.ReadElementContentAsFloat(reader.Name, String.Empty); // X or x |
1429 | vec.Y = reader.ReadElementContentAsFloat("Y", String.Empty); | 1429 | vec.Y = reader.ReadElementContentAsFloat(reader.Name, String.Empty); // Y or Y |
1430 | vec.Z = reader.ReadElementContentAsFloat("Z", String.Empty); | 1430 | vec.Z = reader.ReadElementContentAsFloat(reader.Name, String.Empty); // Z or z |
1431 | reader.ReadEndElement(); | 1431 | reader.ReadEndElement(); |
1432 | 1432 | ||
1433 | return vec; | 1433 | return vec; |