mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
JustinCC is evil. f7b28dd3 broke script persistence. This fixes it.
This commit is contained in:
@@ -514,7 +514,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
// This is necessary so that TaskInventoryItem parent ids correctly reference the new uuid of this part
|
||||
if (Inventory != null)
|
||||
Inventory.ResetInventoryIDs();
|
||||
Inventory.ResetObjectID();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2800,6 +2800,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
UUID = UUID.Random();
|
||||
LinkNum = linkNum;
|
||||
LocalId = 0;
|
||||
Inventory.ResetInventoryIDs();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user