aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-05-03 01:30:57 +0100
committerMelanie2010-05-03 01:30:57 +0100
commit7a8ad1ceb23b768863a05997d3c0397dc301a323 (patch)
tree8b0401329176ee685d372c33f7a7ba39504963ef
parentDefer sending of CHANGED_OWNER to make it work on rezzed objects and (diff)
downloadopensim-SC_OLD-7a8ad1ceb23b768863a05997d3c0397dc301a323.zip
opensim-SC_OLD-7a8ad1ceb23b768863a05997d3c0397dc301a323.tar.gz
opensim-SC_OLD-7a8ad1ceb23b768863a05997d3c0397dc301a323.tar.bz2
opensim-SC_OLD-7a8ad1ceb23b768863a05997d3c0397dc301a323.tar.xz
Make in-place sale send CHANGED_OWNER again
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 61a2956..3e4694a 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4522,6 +4522,7 @@ namespace OpenSim.Region.Framework.Scenes
4522 foreach (SceneObjectPart child in partList) 4522 foreach (SceneObjectPart child in partList)
4523 { 4523 {
4524 child.Inventory.ChangeInventoryOwner(remoteClient.AgentId); 4524 child.Inventory.ChangeInventoryOwner(remoteClient.AgentId);
4525 child.TriggerScriptChangedEvent(Changed.OWNER);
4525 child.ApplyNextOwnerPermissions(); 4526 child.ApplyNextOwnerPermissions();
4526 } 4527 }
4527 } 4528 }
@@ -4531,6 +4532,8 @@ namespace OpenSim.Region.Framework.Scenes
4531 4532
4532 group.HasGroupChanged = true; 4533 group.HasGroupChanged = true;
4533 part.GetProperties(remoteClient); 4534 part.GetProperties(remoteClient);
4535 part.TriggerScriptChangedEvent(Changed.OWNER);
4536 group.ResumeScripts();
4534 part.ScheduleFullUpdate(); 4537 part.ScheduleFullUpdate();
4535 4538
4536 break; 4539 break;