diff options
author | Melanie | 2012-02-02 01:05:14 +0100 |
---|---|---|
committer | Melanie | 2012-02-02 01:05:14 +0100 |
commit | 45ad9e39a668fc283b392746572729659fb9539d (patch) | |
tree | 1a2e8fcddbc9fe7d73a3ba400aeec2c7a3533b9e /OpenSim/Region/Framework/Scenes/Serialization | |
parent | Re-Add the reading of attachment data hat was lost in the merge (diff) | |
download | opensim-SC_OLD-45ad9e39a668fc283b392746572729659fb9539d.zip opensim-SC_OLD-45ad9e39a668fc283b392746572729659fb9539d.tar.gz opensim-SC_OLD-45ad9e39a668fc283b392746572729659fb9539d.tar.bz2 opensim-SC_OLD-45ad9e39a668fc283b392746572729659fb9539d.tar.xz |
Improve reliability of script state saving by covering various saving
and loading scenarios which resulted in loss of continuity on item ids
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 2b0e115..6303cb1 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -807,10 +807,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
807 | 807 | ||
808 | private static void ProcessTIOldItemID(TaskInventoryItem item, XmlTextReader reader) | 808 | private static void ProcessTIOldItemID(TaskInventoryItem item, XmlTextReader reader) |
809 | { | 809 | { |
810 | Util.ReadUUID(reader, "OldItemID"); | 810 | item.OldItemID = Util.ReadUUID(reader, "OldItemID"); |
811 | // On deserialization, the old item id MUST BE UUID.Zero!!!!! | ||
812 | // Setting this to the saved value will BREAK script persistence! | ||
813 | // item.OldItemID = Util.ReadUUID(reader, "OldItemID"); | ||
814 | } | 811 | } |
815 | 812 | ||
816 | private static void ProcessTILastOwnerID(TaskInventoryItem item, XmlTextReader reader) | 813 | private static void ProcessTILastOwnerID(TaskInventoryItem item, XmlTextReader reader) |