Exclude temp attachemnts from being sent to the avatar service

This commit is contained in:
Melanie
2012-08-14 00:29:39 +01:00
parent fe4c3a37c0
commit 50db8649aa

View File

@@ -176,7 +176,8 @@ namespace OpenSim.Services.Interfaces
List<AvatarAttachment> attachments = appearance.GetAttachments();
foreach (AvatarAttachment attach in attachments)
{
Data["_ap_" + attach.AttachPoint] = attach.ItemID.ToString();
if (attach.ItemID != UUID.Zero)
Data["_ap_" + attach.AttachPoint] = attach.ItemID.ToString();
}
}