diff options
author | Melanie Thielker | 2008-10-06 07:21:13 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-06 07:21:13 +0000 |
commit | c65b10caa2a877096d52d29e7b89026e9f54d622 (patch) | |
tree | 15172f710b1fbd4236ba31946d69f3574d8186b5 /OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | |
parent | Cause inventory items to also be sold when a prim is sold (diff) | |
download | opensim-SC_OLD-c65b10caa2a877096d52d29e7b89026e9f54d622.zip opensim-SC_OLD-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.gz opensim-SC_OLD-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.bz2 opensim-SC_OLD-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.xz |
Implement ForceOwnerPermissive and God TakeCopy
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs index 5b57e73..34e5305 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs | |||
@@ -733,6 +733,15 @@ namespace OpenSim.Region.Environment.Scenes | |||
733 | TriggerScriptChangedEvent(Changed.OWNER); | 733 | TriggerScriptChangedEvent(Changed.OWNER); |
734 | } | 734 | } |
735 | 735 | ||
736 | public void ApplyGodPermissions(uint perms) | ||
737 | { | ||
738 | foreach (TaskInventoryItem item in m_taskInventory.Values) | ||
739 | { | ||
740 | item.CurrentPermissions = perms; | ||
741 | item.BasePermissions = perms; | ||
742 | } | ||
743 | } | ||
744 | |||
736 | public bool ContainsScripts() | 745 | public bool ContainsScripts() |
737 | { | 746 | { |
738 | foreach (TaskInventoryItem item in m_taskInventory.Values) | 747 | foreach (TaskInventoryItem item in m_taskInventory.Values) |