diff options
author | Jeff Ames | 2008-05-14 05:33:32 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-14 05:33:32 +0000 |
commit | 6a1b787436cc59043a26a296781e7a7b5ea0c67b (patch) | |
tree | 10f55a7b0abfdc47f103d40f13f3cae530c13581 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | Formatting cleanup. (diff) | |
download | opensim-SC_OLD-6a1b787436cc59043a26a296781e7a7b5ea0c67b.zip opensim-SC_OLD-6a1b787436cc59043a26a296781e7a7b5ea0c67b.tar.gz opensim-SC_OLD-6a1b787436cc59043a26a296781e7a7b5ea0c67b.tar.bz2 opensim-SC_OLD-6a1b787436cc59043a26a296781e7a7b5ea0c67b.tar.xz |
More formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index efd258d..82a6b94 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -815,7 +815,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
815 | agentItem.Folder = folderId; | 815 | agentItem.Folder = folderId; |
816 | agentItem.EveryOnePermissions = taskItem.EveryoneMask; | 816 | agentItem.EveryOnePermissions = taskItem.EveryoneMask; |
817 | 817 | ||
818 | if (remoteClient.AgentId != taskItem.OwnerID) { | 818 | if (remoteClient.AgentId != taskItem.OwnerID) |
819 | { | ||
819 | agentItem.BasePermissions = taskItem.NextOwnerMask; | 820 | agentItem.BasePermissions = taskItem.NextOwnerMask; |
820 | agentItem.CurrentPermissions = taskItem.NextOwnerMask; | 821 | agentItem.CurrentPermissions = taskItem.NextOwnerMask; |
821 | agentItem.NextPermissions = taskItem.NextOwnerMask; | 822 | agentItem.NextPermissions = taskItem.NextOwnerMask; |
@@ -1038,7 +1039,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1038 | item.InvType = asset.InvType; | 1039 | item.InvType = asset.InvType; |
1039 | item.Folder = DeRezPacket.AgentBlock.DestinationID; | 1040 | item.Folder = DeRezPacket.AgentBlock.DestinationID; |
1040 | item.EveryOnePermissions = objectGroup.RootPart.EveryoneMask; | 1041 | item.EveryOnePermissions = objectGroup.RootPart.EveryoneMask; |
1041 | if (remoteClient.AgentId != objectGroup.RootPart.OwnerID) { | 1042 | if (remoteClient.AgentId != objectGroup.RootPart.OwnerID) |
1043 | { | ||
1042 | item.BasePermissions = objectGroup.RootPart.NextOwnerMask; | 1044 | item.BasePermissions = objectGroup.RootPart.NextOwnerMask; |
1043 | item.CurrentPermissions = objectGroup.RootPart.NextOwnerMask; | 1045 | item.CurrentPermissions = objectGroup.RootPart.NextOwnerMask; |
1044 | item.NextPermissions = objectGroup.RootPart.NextOwnerMask; | 1046 | item.NextPermissions = objectGroup.RootPart.NextOwnerMask; |