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
user_profiles
Justin Clark-Casey (justincc) 2013-05-23 23:52:07 +01:00
parent 0d5566e879
commit 9b56f99326
1 changed files with 1 additions and 0 deletions

View File

@ -1500,6 +1500,7 @@ namespace OpenSim.Region.Framework.Scenes
dupe.IsAttachment = true; dupe.IsAttachment = true;
dupe.AbsolutePosition = new Vector3(AbsolutePosition.X, AbsolutePosition.Y, AbsolutePosition.Z); dupe.AbsolutePosition = new Vector3(AbsolutePosition.X, AbsolutePosition.Y, AbsolutePosition.Z);
dupe.m_sittingAvatars = new List<UUID>();
if (!userExposed) if (!userExposed)
{ {