diff options
author | Melanie | 2012-08-14 00:29:39 +0100 |
---|---|---|
committer | Melanie | 2012-08-14 00:29:39 +0100 |
commit | 50db8649aaf4b80d8af33c9f14a5b58122dee88f (patch) | |
tree | a06633e1ff1e055a1beedb895dfa205bebe456f0 /OpenSim/Services/Interfaces/IAvatarService.cs | |
parent | Lay some groundwork for temp attachments. Decouple attachments from inventory. (diff) | |
download | opensim-SC-50db8649aaf4b80d8af33c9f14a5b58122dee88f.zip opensim-SC-50db8649aaf4b80d8af33c9f14a5b58122dee88f.tar.gz opensim-SC-50db8649aaf4b80d8af33c9f14a5b58122dee88f.tar.bz2 opensim-SC-50db8649aaf4b80d8af33c9f14a5b58122dee88f.tar.xz |
Exclude temp attachemnts from being sent to the avatar service
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IAvatarService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs index cda7113..863fd93 100644 --- a/OpenSim/Services/Interfaces/IAvatarService.cs +++ b/OpenSim/Services/Interfaces/IAvatarService.cs | |||
@@ -176,7 +176,8 @@ namespace OpenSim.Services.Interfaces | |||
176 | List<AvatarAttachment> attachments = appearance.GetAttachments(); | 176 | List<AvatarAttachment> attachments = appearance.GetAttachments(); |
177 | foreach (AvatarAttachment attach in attachments) | 177 | foreach (AvatarAttachment attach in attachments) |
178 | { | 178 | { |
179 | Data["_ap_" + attach.AttachPoint] = attach.ItemID.ToString(); | 179 | if (attach.ItemID != UUID.Zero) |
180 | Data["_ap_" + attach.AttachPoint] = attach.ItemID.ToString(); | ||
180 | } | 181 | } |
181 | } | 182 | } |
182 | 183 | ||