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

viewer-2-initial-appearance
Latif Khalifa 2010-10-14 18:08:59 +02:00 committed by Melanie
parent ba247f729d
commit 405935492b
1 changed files with 4 additions and 0 deletions

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)