mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
IAvatarFactory.UpdateDatabase gets the assetID and not the object's inworld UUID.
This commit is contained in:
@@ -2309,7 +2309,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ScenePresence presence;
|
||||
if (TryGetAvatar(remoteClient.AgentId, out presence))
|
||||
{
|
||||
presence.Appearance.SetAttachment((int)AttachmentPt, itemID, att.UUID);
|
||||
InventoryItemBase item = InventoryService.GetItem(new InventoryItemBase(itemID, remoteClient.AgentId));
|
||||
|
||||
presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/);
|
||||
IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>();
|
||||
if (ava != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user