Merge branch 'master' into careminster-presence-refactor

avinationmerge
Melanie 2010-11-08 03:05:07 +00:00
commit 8a97d58f09
2 changed files with 15 additions and 4 deletions

View File

@ -179,13 +179,17 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
UUID itemID = UUID.Zero;
if (sp != null)
{
foreach (SceneObjectGroup grp in sp.GetAttachments(AttachmentPt))
foreach(SceneObjectGroup grp in sp.Attachments)
{
if (grp.GetAttachmentPoint() == (byte)AttachmentPt)
{
itemID = grp.GetFromItemID();
break;
}
}
if (itemID != UUID.Zero)
DetachSingleAttachmentToInv(itemID, remoteClient);
}
}
if (group.GetFromItemID() == UUID.Zero)
{

View File

@ -5165,6 +5165,7 @@ namespace OpenSim.Region.Framework.Scenes
});
}
<<<<<<< HEAD:OpenSim/Region/Framework/Scenes/Scene.cs
if (objectsToDelete.Count > 0)
{
m_log.DebugFormat("[SCENE]: Starting delete of {0} dropped attachments", objectsToDelete.Count);
@ -5174,6 +5175,12 @@ namespace OpenSim.Region.Framework.Scenes
DeleteSceneObject(grp, true);
}
m_log.Debug("[SCENE]: Finished dropped attachment deletion");
=======
foreach (SceneObjectGroup grp in objectsToDelete)
{
m_log.InfoFormat("[SCENE]: Deleting dropped attachment {0} of user {1}", grp.UUID, grp.OwnerID);
DeleteSceneObject(grp, true);
>>>>>>> master:OpenSim/Region/Framework/Scenes/Scene.cs
}
}
}