mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Implement ForceOwnerPermissive and God TakeCopy
This commit is contained in:
@@ -733,6 +733,15 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
TriggerScriptChangedEvent(Changed.OWNER);
|
||||
}
|
||||
|
||||
public void ApplyGodPermissions(uint perms)
|
||||
{
|
||||
foreach (TaskInventoryItem item in m_taskInventory.Values)
|
||||
{
|
||||
item.CurrentPermissions = perms;
|
||||
item.BasePermissions = perms;
|
||||
}
|
||||
}
|
||||
|
||||
public bool ContainsScripts()
|
||||
{
|
||||
foreach (TaskInventoryItem item in m_taskInventory.Values)
|
||||
|
||||
Reference in New Issue
Block a user