Diva needs a spanking! Serializing OldItemID breaks script state

persistence in agent inventory.
avinationmerge
Melanie 2010-11-16 01:33:24 +01:00
parent aace455249
commit 0f152bfe8c
1 changed files with 4 additions and 1 deletions

View File

@ -735,7 +735,10 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
private static void ProcessTIOldItemID(TaskInventoryItem item, XmlTextReader reader)
{
item.OldItemID = ReadUUID(reader, "OldItemID");
ReadUUID(reader, "OldItemID");
// On deserialization, the old item id MUST BE UUID.Zero!!!!!
// Setting this to the saved value will BREAK script persistence!
// item.OldItemID = ReadUUID(reader, "OldItemID");
}
private static void ProcessTILastOwnerID(TaskInventoryItem item, XmlTextReader reader)