aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization
diff options
context:
space:
mode:
authorMelanie2010-11-16 01:33:24 +0100
committerMelanie2010-11-16 01:33:24 +0100
commit0f152bfe8c6e9723da3abec3eeef83d0f2d18796 (patch)
treee38beca3c6a09a4b2d0bd48240286c9614b392a2 /OpenSim/Region/Framework/Scenes/Serialization
parentPrevent teleporting to a region when the egent is banned in all parcels (diff)
downloadopensim-SC-0f152bfe8c6e9723da3abec3eeef83d0f2d18796.zip
opensim-SC-0f152bfe8c6e9723da3abec3eeef83d0f2d18796.tar.gz
opensim-SC-0f152bfe8c6e9723da3abec3eeef83d0f2d18796.tar.bz2
opensim-SC-0f152bfe8c6e9723da3abec3eeef83d0f2d18796.tar.xz
Diva needs a spanking! Serializing OldItemID breaks script state
persistence in agent inventory.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
index a398dfd..dfc69d8 100644
--- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
+++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
@@ -735,7 +735,10 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
735 735
736 private static void ProcessTIOldItemID(TaskInventoryItem item, XmlTextReader reader) 736 private static void ProcessTIOldItemID(TaskInventoryItem item, XmlTextReader reader)
737 { 737 {
738 item.OldItemID = ReadUUID(reader, "OldItemID"); 738 ReadUUID(reader, "OldItemID");
739 // On deserialization, the old item id MUST BE UUID.Zero!!!!!
740 // Setting this to the saved value will BREAK script persistence!
741 // item.OldItemID = ReadUUID(reader, "OldItemID");
739 } 742 }
740 743
741 private static void ProcessTILastOwnerID(TaskInventoryItem item, XmlTextReader reader) 744 private static void ProcessTILastOwnerID(TaskInventoryItem item, XmlTextReader reader)