Adapt CM to the new CHANGED_OWNER handling

This commit is contained in:
Melanie Thielker
2010-05-03 04:28:30 +02:00
parent 9f8acbfe3e
commit 8766401777
4 changed files with 36 additions and 4 deletions

View File

@@ -4683,5 +4683,17 @@ namespace OpenSim.Region.Framework.Scenes
{
return new Color4((byte)Color.R, (byte)Color.G, (byte)Color.B, (byte)(0xFF - Color.A));
}
public void ResetOwnerChangeFlag()
{
List<UUID> inv = Inventory.GetInventoryList();
foreach (UUID itemID in inv)
{
TaskInventoryItem item = Inventory.GetInventoryItem(itemID);
item.OwnerChanged = false;
Inventory.UpdateInventoryItem(item);
}
}
}
}