aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorMelanie Thielker2010-06-28 01:29:30 +0200
committerMelanie Thielker2010-06-28 01:29:30 +0200
commitd570cffa39e9ca6417ebd1c05cbdfea1d3beabd2 (patch)
tree3e56a7643960d7057780d490c593315733ae1896 /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentMerge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff)
downloadopensim-SC_OLD-d570cffa39e9ca6417ebd1c05cbdfea1d3beabd2.zip
opensim-SC_OLD-d570cffa39e9ca6417ebd1c05cbdfea1d3beabd2.tar.gz
opensim-SC_OLD-d570cffa39e9ca6417ebd1c05cbdfea1d3beabd2.tar.bz2
opensim-SC_OLD-d570cffa39e9ca6417ebd1c05cbdfea1d3beabd2.tar.xz
Fix Copy on Ray, Drag Copy and other little things. Removed the wrong and
nonworking ownership assignment in SOG, which messed things up before. No longer trust the client to send the ID of the person something is copied as, since it allows to run a script with someone else's permissions. Properly adjust inventory ownership and perms.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index dfcbc4c..69a909b 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -1851,7 +1851,7 @@ namespace OpenSim.Region.Framework.Scenes
1851 SceneObjectGroup copy = original.Copy(AgentID, GroupID, true); 1851 SceneObjectGroup copy = original.Copy(AgentID, GroupID, true);
1852 copy.AbsolutePosition = copy.AbsolutePosition + offset; 1852 copy.AbsolutePosition = copy.AbsolutePosition + offset;
1853 1853
1854 if (copy.OwnerID != AgentID) 1854 if (original.OwnerID != AgentID)
1855 { 1855 {
1856 copy.SetOwnerId(AgentID); 1856 copy.SetOwnerId(AgentID);
1857 copy.SetRootPartOwner(copy.RootPart, AgentID, GroupID); 1857 copy.SetRootPartOwner(copy.RootPart, AgentID, GroupID);