mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
First attempt to get multiple attachments working to support viewer2.
The attachment code appears to work correctly for 1.23 viewers so, in spite of some big changes in the internal representation, there don't appear to be regressions. That being said, I still can't get a viewer2 avatar to show correctly.
This commit is contained in:
@@ -3657,15 +3657,16 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return;
|
||||
}
|
||||
|
||||
List<int> attPoints = m_appearance.GetAttachedPoints();
|
||||
foreach (int p in attPoints)
|
||||
List<AvatarAttachment> attachments = m_appearance.GetAttachments();
|
||||
foreach (AvatarAttachment attach in attachments)
|
||||
{
|
||||
if (m_isDeleted)
|
||||
return;
|
||||
|
||||
UUID itemID = m_appearance.GetAttachedItem(p);
|
||||
int p = attach.AttachPoint;
|
||||
UUID itemID = attach.ItemID;
|
||||
|
||||
//UUID assetID = m_appearance.GetAttachedAsset(p);
|
||||
//UUID assetID = attach.AssetID;
|
||||
// For some reason assetIDs are being written as Zero's in the DB -- need to track tat down
|
||||
// But they're not used anyway, the item is being looked up for now, so let's proceed.
|
||||
//if (UUID.Zero == assetID)
|
||||
|
||||
Reference in New Issue
Block a user