diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs')
-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) |