aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-05-23 23:52:07 +0100
committerJustin Clark-Casey (justincc)2013-05-23 23:52:07 +0100
commit9b56f993261954fe9918bd0c9205a41e058183a1 (patch)
tree367620fc1317e8826233fbd62f5b633e90c9f7e6 /OpenSim/Region/Framework
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-9b56f993261954fe9918bd0c9205a41e058183a1.zip
opensim-SC_OLD-9b56f993261954fe9918bd0c9205a41e058183a1.tar.gz
opensim-SC_OLD-9b56f993261954fe9918bd0c9205a41e058183a1.tar.bz2
opensim-SC_OLD-9b56f993261954fe9918bd0c9205a41e058183a1.tar.xz
Fix bug where a cloned object would report the wrong llGetNumberOfPrims() when avatars had been sitting on the original and a different avatar sat on the copy within the same opensim session.
This was because the sitting avatars list was being cloned rather than reset. Addresses http://opensimulator.org/mantis/view.php?id=6649
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 38fa26a..2d4218d 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1500,6 +1500,7 @@ namespace OpenSim.Region.Framework.Scenes
1500 dupe.IsAttachment = true; 1500 dupe.IsAttachment = true;
1501 1501
1502 dupe.AbsolutePosition = new Vector3(AbsolutePosition.X, AbsolutePosition.Y, AbsolutePosition.Z); 1502 dupe.AbsolutePosition = new Vector3(AbsolutePosition.X, AbsolutePosition.Y, AbsolutePosition.Z);
1503 dupe.m_sittingAvatars = new List<UUID>();
1503 1504
1504 if (!userExposed) 1505 if (!userExposed)
1505 { 1506 {