diff options
author | Jeff Ames | 2008-10-05 14:15:39 +0000 |
---|---|---|
committer | Jeff Ames | 2008-10-05 14:15:39 +0000 |
commit | aab6cdd8b05a97c8906a67eb8d3233580fbebb2f (patch) | |
tree | 1020456338cb7cc0b5ce5769fc4c0d85bd47bfe8 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |
parent | * An update to the UDP Packet handler which might make the giant sized crater... (diff) | |
download | opensim-SC-aab6cdd8b05a97c8906a67eb8d3233580fbebb2f.zip opensim-SC-aab6cdd8b05a97c8906a67eb8d3233580fbebb2f.tar.gz opensim-SC-aab6cdd8b05a97c8906a67eb8d3233580fbebb2f.tar.bz2 opensim-SC-aab6cdd8b05a97c8906a67eb8d3233580fbebb2f.tar.xz |
Update svn properties, minor formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 2285b04..729572a 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -2292,7 +2292,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2292 | public void DetachSingleAttachmentToGround(UUID itemID, IClientAPI remoteClient) | 2292 | public void DetachSingleAttachmentToGround(UUID itemID, IClientAPI remoteClient) |
2293 | { | 2293 | { |
2294 | SceneObjectPart part = GetSceneObjectPart(itemID); | 2294 | SceneObjectPart part = GetSceneObjectPart(itemID); |
2295 | if(part == null || part.ParentGroup == null) | 2295 | if (part == null || part.ParentGroup == null) |
2296 | return; | 2296 | return; |
2297 | 2297 | ||
2298 | UUID inventoryID = part.ParentGroup.GetFromAssetID(); | 2298 | UUID inventoryID = part.ParentGroup.GetFromAssetID(); |
@@ -2300,7 +2300,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2300 | ScenePresence presence; | 2300 | ScenePresence presence; |
2301 | if (TryGetAvatar(remoteClient.AgentId, out presence)) | 2301 | if (TryGetAvatar(remoteClient.AgentId, out presence)) |
2302 | { | 2302 | { |
2303 | if(!ExternalChecks.ExternalChecksCanRezObject(part.ParentGroup.Children.Count, remoteClient.AgentId, presence.AbsolutePosition)) | 2303 | if (!ExternalChecks.ExternalChecksCanRezObject(part.ParentGroup.Children.Count, remoteClient.AgentId, presence.AbsolutePosition)) |
2304 | return; | 2304 | return; |
2305 | 2305 | ||
2306 | presence.Appearance.DetachAttachment(itemID); | 2306 | presence.Appearance.DetachAttachment(itemID); |