remove pointless IsDeleted check on SP.RezAttachments()

IsDeleted is never set for an SP, even though it's on EntityBase.
It might be an idea to set it in the future
bulletsim
Justin Clark-Casey (justincc) 2011-08-24 22:37:08 +01:00
parent 6d4432f440
commit d5dc8133fc
1 changed files with 0 additions and 3 deletions

View File

@ -3809,9 +3809,6 @@ namespace OpenSim.Region.Framework.Scenes
List<AvatarAttachment> attachments = m_appearance.GetAttachments(); List<AvatarAttachment> attachments = m_appearance.GetAttachments();
foreach (AvatarAttachment attach in attachments) foreach (AvatarAttachment attach in attachments)
{ {
if (IsDeleted)
return;
int p = attach.AttachPoint; int p = attach.AttachPoint;
UUID itemID = attach.ItemID; UUID itemID = attach.ItemID;