* Fix for mantis #678

* Shift copied prims should now keep the script in both prims over region startups
This commit is contained in:
Justin Clarke Casey
2008-04-01 17:06:33 +00:00
parent cdf27ece5f
commit 96ecb62197
2 changed files with 15 additions and 3 deletions

View File

@@ -90,13 +90,22 @@ namespace OpenSim.Region.Environment.Scenes
/// <summary>
/// Reset LLUUIDs for all the items in the prim's inventory. This involves either generating
/// new ones or setting existing UUIDs to the correct parent UUIDs
/// new ones or setting existing UUIDs to the correct parent UUIDs.
///
/// If this method is called and there are inventory items, then we regard the inventory as having changed.
/// </summary>
/// <param name="linkNum">Link number for the part</param>
public void ResetInventoryIDs()
{
lock (TaskInventory)
{
{
if (0 == TaskInventory.Count)
{
return;
}
HasInventoryChanged = true;
IList<TaskInventoryItem> items = new List<TaskInventoryItem>(TaskInventory.Values);
TaskInventory.Clear();