aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorMelanie2012-08-14 00:29:39 +0100
committerMelanie2012-08-14 00:29:39 +0100
commit50db8649aaf4b80d8af33c9f14a5b58122dee88f (patch)
treea06633e1ff1e055a1beedb895dfa205bebe456f0 /OpenSim/Services
parentLay some groundwork for temp attachments. Decouple attachments from inventory. (diff)
downloadopensim-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 'OpenSim/Services')
-rw-r--r--OpenSim/Services/Interfaces/IAvatarService.cs3
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