diff options
author | Justin Clark-Casey (justincc) | 2012-01-11 14:33:26 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-11 14:33:26 +0000 |
commit | 38db87475528f48752623fcb7e8b40ef728f50e9 (patch) | |
tree | 896b2cd651e47860560d74256016cfbdee9eb0f1 /OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |
parent | Add a check to see if an asset exists before recreating it while (diff) | |
download | opensim-SC-38db87475528f48752623fcb7e8b40ef728f50e9.zip opensim-SC-38db87475528f48752623fcb7e8b40ef728f50e9.tar.gz opensim-SC-38db87475528f48752623fcb7e8b40ef728f50e9.tar.bz2 opensim-SC-38db87475528f48752623fcb7e8b40ef728f50e9.tar.xz |
If deserializing a scene object fails during IAR load then ignore the object rather than halting the IAR load with an exception.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index bca49f7..38d1231 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
54 | /// Deserialize a scene object from the original xml format | 54 | /// Deserialize a scene object from the original xml format |
55 | /// </summary> | 55 | /// </summary> |
56 | /// <param name="xmlData"></param> | 56 | /// <param name="xmlData"></param> |
57 | /// <returns></returns> | 57 | /// <returns>The scene object deserialized. Null on failure.</returns> |
58 | public static SceneObjectGroup FromOriginalXmlFormat(string xmlData) | 58 | public static SceneObjectGroup FromOriginalXmlFormat(string xmlData) |
59 | { | 59 | { |
60 | //m_log.DebugFormat("[SOG]: Starting deserialization of SOG"); | 60 | //m_log.DebugFormat("[SOG]: Starting deserialization of SOG"); |