Diva needs a spanking! Serializing OldItemID breaks script state persistence in agent inventory.
parent
9c8680cd69
commit
98ba079e95
|
@ -735,7 +735,10 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||||
|
|
||||||
private static void ProcessTIOldItemID(TaskInventoryItem item, XmlTextReader reader)
|
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)
|
private static void ProcessTILastOwnerID(TaskInventoryItem item, XmlTextReader reader)
|
||||||
|
|
Loading…
Reference in New Issue