diff options
author | Melanie | 2010-11-16 01:33:24 +0100 |
---|---|---|
committer | Melanie | 2010-11-16 01:35:16 +0000 |
commit | 98ba079e95ef0c967f138ac49c5e8f3c0961c848 (patch) | |
tree | 757578fe092c1fd2416e24868bbcd5fcc2e69d94 /OpenSim/Region | |
parent | Fix prebubild.exe for Nant add missing "/" fixes Nant builds (diff) | |
download | opensim-SC_OLD-98ba079e95ef0c967f138ac49c5e8f3c0961c848.zip opensim-SC_OLD-98ba079e95ef0c967f138ac49c5e8f3c0961c848.tar.gz opensim-SC_OLD-98ba079e95ef0c967f138ac49c5e8f3c0961c848.tar.bz2 opensim-SC_OLD-98ba079e95ef0c967f138ac49c5e8f3c0961c848.tar.xz |
Diva needs a spanking! Serializing OldItemID breaks script state persistence in agent inventory.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 5 |
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 7f37878..fb4ef28 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) |