aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorMelanie2010-06-09 20:25:05 +0100
committerMelanie2010-06-09 20:25:05 +0100
commit1dce2436613de7772a91013cd2defc977b5adb26 (patch)
tree0a105bd8fedd0c6b4c15b6268bdb32b1f069c0c6 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parentGive attachments the same priority as other avatars in BestAvatarResponsiveness (diff)
parentBug fix on attachments: attach->drop->attach works now. (diff)
downloadopensim-SC-1dce2436613de7772a91013cd2defc977b5adb26.zip
opensim-SC-1dce2436613de7772a91013cd2defc977b5adb26.tar.gz
opensim-SC-1dce2436613de7772a91013cd2defc977b5adb26.tar.bz2
opensim-SC-1dce2436613de7772a91013cd2defc977b5adb26.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index e111867..8847043 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1755,7 +1755,11 @@ namespace OpenSim.Region.Framework.Scenes
1755 item.AssetType = asset.Type; 1755 item.AssetType = asset.Type;
1756 item.InvType = (int)InventoryType.Object; 1756 item.InvType = (int)InventoryType.Object;
1757 1757
1758 item.Folder = UUID.Zero; // Objects folder! 1758 InventoryFolderBase folder = InventoryService.GetFolderForType(remoteClient.AgentId, AssetType.Object);
1759 if (folder != null)
1760 item.Folder = folder.ID;
1761 else // oopsies
1762 item.Folder = UUID.Zero;
1759 1763
1760 if ((remoteClient.AgentId != grp.RootPart.OwnerID) && Permissions.PropagatePermissions()) 1764 if ((remoteClient.AgentId != grp.RootPart.OwnerID) && Permissions.PropagatePermissions())
1761 { 1765 {