aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorBlueWall2012-02-22 22:29:30 -0500
committerBlueWall2012-02-22 22:29:30 -0500
commitaf377470e14d9de47e7a67778e1ebd602239e1b1 (patch)
tree77efe266c00fcb67ee1cc8a84dc9be411582ecfa /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parentV3 Support (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC-af377470e14d9de47e7a67778e1ebd602239e1b1.zip
opensim-SC-af377470e14d9de47e7a67778e1ebd602239e1b1.tar.gz
opensim-SC-af377470e14d9de47e7a67778e1ebd602239e1b1.tar.bz2
opensim-SC-af377470e14d9de47e7a67778e1ebd602239e1b1.tar.xz
Merge branch 'master' into v3_support
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 6cc78b8..23f39a8 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1155,8 +1155,7 @@ namespace OpenSim.Region.Framework.Scenes
1155 return; 1155 return;
1156 } 1156 }
1157 1157
1158 TaskInventoryItem item = part.Inventory.GetInventoryItem(itemId); 1158 if ((taskItem.CurrentPermissions & (uint)PermissionMask.Copy) == 0)
1159 if ((item.CurrentPermissions & (uint)PermissionMask.Copy) == 0)
1160 { 1159 {
1161 // If the item to be moved is no copy, we need to be able to 1160 // If the item to be moved is no copy, we need to be able to
1162 // edit the prim. 1161 // edit the prim.