mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +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:
@@ -1614,12 +1614,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController
|
||||
}
|
||||
|
||||
// Attachments
|
||||
Dictionary<int, AvatarAttachment> attachments = avatarAppearance.Attachments;
|
||||
List<AvatarAttachment> attachments = avatarAppearance.GetAttachments();
|
||||
|
||||
foreach (KeyValuePair<int, AvatarAttachment> attachment in attachments)
|
||||
foreach (AvatarAttachment attachment in attachments)
|
||||
{
|
||||
int attachpoint = attachment.Value.AttachPoint;
|
||||
UUID itemID = attachment.Value.ItemID;
|
||||
int attachpoint = attachment.AttachPoint;
|
||||
UUID itemID = attachment.ItemID;
|
||||
|
||||
if (itemID != UUID.Zero)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user