diff options
author | Kitto Flora | 2010-07-13 20:37:45 +0000 |
---|---|---|
committer | Kitto Flora | 2010-07-13 20:37:45 +0000 |
commit | 84227fd55852391dae6f2e162c4b0a852ee24f13 (patch) | |
tree | f3472e0268397366fdf6096bf4e925f9002d24dd /OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |
parent | Rewrite collision dictionary handling, cleans up deleted obects/avs. Fixes oc... (diff) | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-84227fd55852391dae6f2e162c4b0a852ee24f13.zip opensim-SC-84227fd55852391dae6f2e162c4b0a852ee24f13.tar.gz opensim-SC-84227fd55852391dae6f2e162c4b0a852ee24f13.tar.bz2 opensim-SC-84227fd55852391dae6f2e162c4b0a852ee24f13.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs index 1149a20..70b37fb 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -170,13 +170,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
170 | taskItem.GroupPermissions = item.GroupPermissions & | 170 | taskItem.GroupPermissions = item.GroupPermissions & |
171 | item.NextPermissions; | 171 | item.NextPermissions; |
172 | taskItem.NextPermissions = item.NextPermissions; | 172 | taskItem.NextPermissions = item.NextPermissions; |
173 | taskItem.CurrentPermissions |= 8; | 173 | // We're adding this to a prim we don't own. Force |
174 | // owner change | ||
175 | taskItem.CurrentPermissions |= 16; // Slam | ||
174 | } | 176 | } |
175 | else | 177 | else |
176 | { | 178 | { |
177 | taskItem.BasePermissions = item.BasePermissions; | 179 | taskItem.BasePermissions = item.BasePermissions; |
178 | taskItem.CurrentPermissions = item.CurrentPermissions; | 180 | taskItem.CurrentPermissions = item.CurrentPermissions; |
179 | taskItem.CurrentPermissions |= 8; | ||
180 | taskItem.EveryonePermissions = item.EveryOnePermissions; | 181 | taskItem.EveryonePermissions = item.EveryOnePermissions; |
181 | taskItem.GroupPermissions = item.GroupPermissions; | 182 | taskItem.GroupPermissions = item.GroupPermissions; |
182 | taskItem.NextPermissions = item.NextPermissions; | 183 | taskItem.NextPermissions = item.NextPermissions; |