aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
diff options
context:
space:
mode:
authorMelanie2012-02-02 01:52:17 +0000
committerMelanie2012-02-02 01:52:17 +0000
commit567f4c51f85e61205c8b1caaab207bc6f979f04f (patch)
tree1b56fcc63de25d7c6c8fc0739843381bd1a7662e /OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
parentSmall optimization to last commit (diff)
downloadopensim-SC-567f4c51f85e61205c8b1caaab207bc6f979f04f.zip
opensim-SC-567f4c51f85e61205c8b1caaab207bc6f979f04f.tar.gz
opensim-SC-567f4c51f85e61205c8b1caaab207bc6f979f04f.tar.bz2
opensim-SC-567f4c51f85e61205c8b1caaab207bc6f979f04f.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/SceneObjectSerializer.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs5
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 3a08271..b54fcb7 100644
--- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
+++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
@@ -794,10 +794,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
794 794
795 private static void ProcessTIOldItemID(TaskInventoryItem item, XmlTextReader reader) 795 private static void ProcessTIOldItemID(TaskInventoryItem item, XmlTextReader reader)
796 { 796 {
797 Util.ReadUUID(reader, "OldItemID"); 797 item.OldItemID = Util.ReadUUID(reader, "OldItemID");
798 // On deserialization, the old item id MUST BE UUID.Zero!!!!!
799 // Setting this to the saved value will BREAK script persistence!
800 // item.OldItemID = Util.ReadUUID(reader, "OldItemID");
801 } 798 }
802 799
803 private static void ProcessTILastOwnerID(TaskInventoryItem item, XmlTextReader reader) 800 private static void ProcessTILastOwnerID(TaskInventoryItem item, XmlTextReader reader)