Don't distroy attachments when using viewer 2.1+, strip multiple attachment data

This commit is contained in:
Latif Khalifa
2010-10-14 18:08:59 +02:00
committed by Melanie
parent ba247f729d
commit 405935492b

View File

@@ -228,6 +228,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
"[ATTACHMENTS MODULE]: Rezzing attachment to point {0} from item {1} for {2}",
(AttachmentPoint)AttachmentPt, itemID, remoteClient.Name);
// TODO: this short circuits multiple attachments functionality in LL viewer 2.1+ and should
// be removed when that functionality is implemented in opensim
AttachmentPt &= 0x7f;
SceneObjectGroup att = RezSingleAttachmentFromInventoryInternal(remoteClient, itemID, AttachmentPt);
if (updateInventoryStatus)