aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs11
1 files changed, 4 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 87ce0b7..0817144 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -5243,17 +5243,13 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
5243 5243
5244 if (OwnerID != item.Owner) 5244 if (OwnerID != item.Owner)
5245 { 5245 {
5246 //LogPermissions("Before ApplyNextOwnerPermissions");
5247
5248 if (scene.Permissions.PropagatePermissions())
5249 ApplyNextOwnerPermissions();
5250
5251 //LogPermissions("After ApplyNextOwnerPermissions");
5252
5253 if(OwnerID != GroupID) 5246 if(OwnerID != GroupID)
5254 LastOwnerID = OwnerID; 5247 LastOwnerID = OwnerID;
5255 OwnerID = item.Owner; 5248 OwnerID = item.Owner;
5256 Inventory.ChangeInventoryOwner(item.Owner); 5249 Inventory.ChangeInventoryOwner(item.Owner);
5250
5251 if (scene.Permissions.PropagatePermissions())
5252 ApplyNextOwnerPermissions();
5257 } 5253 }
5258 } 5254 }
5259 5255
@@ -5277,6 +5273,7 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
5277 GroupMask = 0; // Giving an object zaps group permissions 5273 GroupMask = 0; // Giving an object zaps group permissions
5278 5274
5279 Inventory.ApplyNextOwnerPermissions(); 5275 Inventory.ApplyNextOwnerPermissions();
5276 AggregateInnerPerms();
5280 } 5277 }
5281 5278
5282 public void UpdateLookAt() 5279 public void UpdateLookAt()