Diva needs a spanking! Serializing OldItemID breaks script state persistence in agent inventory.

viewer-2-initial-appearance
Melanie 2010-11-16 01:33:24 +01:00
parent 9c8680cd69
commit 98ba079e95
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)