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 futurebulletsim
parent
6d4432f440
commit
d5dc8133fc
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue