aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorMelanie Thielker2010-06-28 01:48:24 +0200
committerMelanie2010-06-28 01:43:26 +0100
commit85a9c305a202516b08b566b1120750010461022c (patch)
tree0a78d11b565729be02bd1835e577dae92fa39a64 /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentFix Copy on Ray, Drag Copy and other little things. Removed the wrong and (diff)
downloadopensim-SC_OLD-85a9c305a202516b08b566b1120750010461022c.zip
opensim-SC_OLD-85a9c305a202516b08b566b1120750010461022c.tar.gz
opensim-SC_OLD-85a9c305a202516b08b566b1120750010461022c.tar.bz2
opensim-SC_OLD-85a9c305a202516b08b566b1120750010461022c.tar.xz
Remove AgentID and GroupOD from the signature of SOG.Copy(). They were never
used, but made for a very mispleading read of the code in the callers.
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 5fea332..40332a6 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -1747,7 +1747,7 @@ namespace OpenSim.Region.Framework.Scenes
1747 { 1747 {
1748 if (m_parentScene.Permissions.CanDuplicateObject(original.Children.Count, original.UUID, AgentID, original.AbsolutePosition)) 1748 if (m_parentScene.Permissions.CanDuplicateObject(original.Children.Count, original.UUID, AgentID, original.AbsolutePosition))
1749 { 1749 {
1750 SceneObjectGroup copy = original.Copy(AgentID, GroupID, true); 1750 SceneObjectGroup copy = original.Copy(true);
1751 copy.AbsolutePosition = copy.AbsolutePosition + offset; 1751 copy.AbsolutePosition = copy.AbsolutePosition + offset;
1752 1752
1753 if (original.OwnerID != AgentID) 1753 if (original.OwnerID != AgentID)