Exclude temp attachemnts from being sent to the avatar service

integration
Melanie 2012-08-14 00:29:39 +01:00
parent fe4c3a37c0
commit 50db8649aa
1 changed files with 2 additions and 1 deletions

View File

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