aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-05-24 00:46:58 +0100
committerJustin Clark-Casey (justincc)2013-05-24 00:46:58 +0100
commiteb2bd9d203dbc9d202ae62594fcbdb53d38031ac (patch)
tree902e2afa43904a4bbfa7e32191f50add6ec108e0 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentFix issue where llSetPayPrice on either one of a clone prim in the same OpenS... (diff)
downloadopensim-SC_OLD-eb2bd9d203dbc9d202ae62594fcbdb53d38031ac.zip
opensim-SC_OLD-eb2bd9d203dbc9d202ae62594fcbdb53d38031ac.tar.gz
opensim-SC_OLD-eb2bd9d203dbc9d202ae62594fcbdb53d38031ac.tar.bz2
opensim-SC_OLD-eb2bd9d203dbc9d202ae62594fcbdb53d38031ac.tar.xz
minor: Remove unnecessary duplication of AbsolutePosition Vector3 in SOG.Copy()
As a struct, Vector3 has already been cloned by MemberwiseClone()
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 2d4218d..df23cc5 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1499,7 +1499,6 @@ namespace OpenSim.Region.Framework.Scenes
1499 if (!userExposed) 1499 if (!userExposed)
1500 dupe.IsAttachment = true; 1500 dupe.IsAttachment = true;
1501 1501
1502 dupe.AbsolutePosition = new Vector3(AbsolutePosition.X, AbsolutePosition.Y, AbsolutePosition.Z);
1503 dupe.m_sittingAvatars = new List<UUID>(); 1502 dupe.m_sittingAvatars = new List<UUID>();
1504 1503
1505 if (!userExposed) 1504 if (!userExposed)