diff options
author | Melanie Thielker | 2010-06-28 01:48:24 +0200 |
---|---|---|
committer | Melanie | 2010-06-28 01:43:26 +0100 |
commit | 85a9c305a202516b08b566b1120750010461022c (patch) | |
tree | 0a78d11b565729be02bd1835e577dae92fa39a64 /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | Fix Copy on Ray, Drag Copy and other little things. Removed the wrong and (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 2 |
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) |