mirror of
https://github.com/opensim/opensim.git
synced 2026-08-14 17:55:39 +08:00
Making attachments work again. Tons of debug more. This needs more testing and a lot of cleaning.
This commit is contained in:
@@ -2357,7 +2357,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ScenePresence presence;
|
||||
if (TryGetAvatar(remoteClient.AgentId, out presence))
|
||||
{
|
||||
presence.Appearance.SetAttachment((int)AttachmentPt, itemID, att.UUID);
|
||||
// XXYY!!
|
||||
InventoryItemBase item = InventoryService.GetItem(new InventoryItemBase(itemID));
|
||||
presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/);
|
||||
IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>();
|
||||
if (ava != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user