aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
diff options
context:
space:
mode:
authorMelanie2011-01-12 21:39:13 +0000
committerMelanie2011-01-12 21:39:13 +0000
commit914e4b319ee0adba72bfbfebd878827bfdfde843 (patch)
tree5e48c12157f98fe2529f9c5c7781bc18488266c8 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
parentUse ToString() rather than a cast (more robust) (diff)
downloadopensim-SC-914e4b319ee0adba72bfbfebd878827bfdfde843.zip
opensim-SC-914e4b319ee0adba72bfbfebd878827bfdfde843.tar.gz
opensim-SC-914e4b319ee0adba72bfbfebd878827bfdfde843.tar.bz2
opensim-SC-914e4b319ee0adba72bfbfebd878827bfdfde843.tar.xz
Fix direct item give permissions
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
index 982e280..e8095c0 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
@@ -122,7 +122,7 @@ namespace OpenSim.Region.Framework.Scenes
122 taskItem.NextPermissions = item.NextPermissions; 122 taskItem.NextPermissions = item.NextPermissions;
123 // We're adding this to a prim we don't own. Force 123 // We're adding this to a prim we don't own. Force
124 // owner change 124 // owner change
125 taskItem.CurrentPermissions |= 16; // Slam 125 taskItem.Flags |= (uint)InventoryItemFlags.ObjectSlamPerm;
126 } 126 }
127 else 127 else
128 { 128 {