diff options
author | Melanie Thielker | 2010-05-03 04:28:30 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-05-03 04:28:30 +0200 |
commit | 87664017773227d07b39382efa2aa94f22bbe6c6 (patch) | |
tree | 9ec56ad5d49d04720e54573791f1a88fcbefa476 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-87664017773227d07b39382efa2aa94f22bbe6c6.zip opensim-SC-87664017773227d07b39382efa2aa94f22bbe6c6.tar.gz opensim-SC-87664017773227d07b39382efa2aa94f22bbe6c6.tar.bz2 opensim-SC-87664017773227d07b39382efa2aa94f22bbe6c6.tar.xz |
Adapt CM to the new CHANGED_OWNER handling
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 4b2641c..48e65a5 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4683,5 +4683,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
4683 | { | 4683 | { |
4684 | return new Color4((byte)Color.R, (byte)Color.G, (byte)Color.B, (byte)(0xFF - Color.A)); | 4684 | return new Color4((byte)Color.R, (byte)Color.G, (byte)Color.B, (byte)(0xFF - Color.A)); |
4685 | } | 4685 | } |
4686 | |||
4687 | public void ResetOwnerChangeFlag() | ||
4688 | { | ||
4689 | List<UUID> inv = Inventory.GetInventoryList(); | ||
4690 | |||
4691 | foreach (UUID itemID in inv) | ||
4692 | { | ||
4693 | TaskInventoryItem item = Inventory.GetInventoryItem(itemID); | ||
4694 | item.OwnerChanged = false; | ||
4695 | Inventory.UpdateInventoryItem(item); | ||
4696 | } | ||
4697 | } | ||
4686 | } | 4698 | } |
4687 | } | 4699 | } |