Fixed a regression in SOG.Copy()

viewer-2-initial-appearance
John Hurliman 2010-09-16 17:57:00 -07:00
parent 5321e0e69f
commit b49cb3355f
1 changed files with 1 additions and 1 deletions

View File

@ -1378,7 +1378,7 @@ namespace OpenSim.Region.Framework.Scenes
{ {
SceneObjectGroup dupe = (SceneObjectGroup)MemberwiseClone(); SceneObjectGroup dupe = (SceneObjectGroup)MemberwiseClone();
dupe.m_isBackedUp = false; dupe.m_isBackedUp = false;
dupe.m_parts.Clear(); dupe.m_parts = new MapAndArray<OpenMetaverse.UUID, SceneObjectPart>();
// Warning, The following code related to previousAttachmentStatus is needed so that clones of // Warning, The following code related to previousAttachmentStatus is needed so that clones of
// attachments do not bordercross while they're being duplicated. This is hacktastic! // attachments do not bordercross while they're being duplicated. This is hacktastic!