diff options
author | Jeff Ames | 2010-09-12 13:43:49 -0400 |
---|---|---|
committer | Jeff Ames | 2010-09-12 13:43:49 -0400 |
commit | f1f0bc23f4501ba99035283d3407ddad2b21b785 (patch) | |
tree | 2b62a244eddf18f5608405abcefa9f763ab54340 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | Add copyright headers. (diff) | |
download | opensim-SC_OLD-f1f0bc23f4501ba99035283d3407ddad2b21b785.zip opensim-SC_OLD-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.gz opensim-SC_OLD-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.bz2 opensim-SC_OLD-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index a439eb9..838c648 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -145,7 +145,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
145 | item.Owner, item.Name, item.ID); | 145 | item.Owner, item.Name, item.ID); |
146 | 146 | ||
147 | return false; | 147 | return false; |
148 | } | 148 | } |
149 | } | 149 | } |
150 | 150 | ||
151 | /// <summary> | 151 | /// <summary> |
@@ -253,7 +253,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
253 | // Update item with new asset | 253 | // Update item with new asset |
254 | item.AssetID = asset.FullID; | 254 | item.AssetID = asset.FullID; |
255 | if (group.UpdateInventoryItem(item)) | 255 | if (group.UpdateInventoryItem(item)) |
256 | remoteClient.SendAgentAlertMessage("Script saved", false); | 256 | remoteClient.SendAgentAlertMessage("Script saved", false); |
257 | 257 | ||
258 | part.GetProperties(remoteClient); | 258 | part.GetProperties(remoteClient); |
259 | 259 | ||
@@ -1975,7 +1975,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1975 | return null; | 1975 | return null; |
1976 | 1976 | ||
1977 | if (!Permissions.CanRezObject(group.PrimCount, item.OwnerID, pos)) | 1977 | if (!Permissions.CanRezObject(group.PrimCount, item.OwnerID, pos)) |
1978 | return null; | 1978 | return null; |
1979 | 1979 | ||
1980 | if (!Permissions.BypassPermissions()) | 1980 | if (!Permissions.BypassPermissions()) |
1981 | { | 1981 | { |
@@ -2053,7 +2053,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2053 | 2053 | ||
2054 | List<SceneObjectPart> partList = null; | 2054 | List<SceneObjectPart> partList = null; |
2055 | lock (sog.Children) | 2055 | lock (sog.Children) |
2056 | partList = new List<SceneObjectPart>(sog.Children.Values); | 2056 | partList = new List<SceneObjectPart>(sog.Children.Values); |
2057 | 2057 | ||
2058 | foreach (SceneObjectPart child in partList) | 2058 | foreach (SceneObjectPart child in partList) |
2059 | child.Inventory.ChangeInventoryOwner(ownerID); | 2059 | child.Inventory.ChangeInventoryOwner(ownerID); |
@@ -2068,7 +2068,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2068 | 2068 | ||
2069 | List<SceneObjectPart> partList = null; | 2069 | List<SceneObjectPart> partList = null; |
2070 | lock (sog.Children) | 2070 | lock (sog.Children) |
2071 | partList = new List<SceneObjectPart>(sog.Children.Values); | 2071 | partList = new List<SceneObjectPart>(sog.Children.Values); |
2072 | 2072 | ||
2073 | foreach (SceneObjectPart child in partList) | 2073 | foreach (SceneObjectPart child in partList) |
2074 | { | 2074 | { |
@@ -2078,7 +2078,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2078 | 2078 | ||
2079 | sog.SetOwnerId(groupID); | 2079 | sog.SetOwnerId(groupID); |
2080 | sog.ApplyNextOwnerPermissions(); | 2080 | sog.ApplyNextOwnerPermissions(); |
2081 | } | 2081 | } |
2082 | } | 2082 | } |
2083 | 2083 | ||
2084 | foreach (uint localID in localIDs) | 2084 | foreach (uint localID in localIDs) |