aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorDiva Canto2009-08-16 19:35:14 -0700
committerDiva Canto2009-08-16 19:35:14 -0700
commit50056871b89be654a77310ac8cb49995dd1ee5f6 (patch)
tree6cf94cd343b4744c8148267c5edca70e1853ef6a /OpenSim/Region/Framework/Scenes
parentRemoving the conditional for assetID=Zero upon rezzing attachments on login. (diff)
downloadopensim-SC_OLD-50056871b89be654a77310ac8cb49995dd1ee5f6.zip
opensim-SC_OLD-50056871b89be654a77310ac8cb49995dd1ee5f6.tar.gz
opensim-SC_OLD-50056871b89be654a77310ac8cb49995dd1ee5f6.tar.bz2
opensim-SC_OLD-50056871b89be654a77310ac8cb49995dd1ee5f6.tar.xz
IAvatarFactory.UpdateDatabase gets the assetID and not the object's inworld UUID.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index f5e9be1..46777e1 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -2309,7 +2309,9 @@ namespace OpenSim.Region.Framework.Scenes
2309 ScenePresence presence; 2309 ScenePresence presence;
2310 if (TryGetAvatar(remoteClient.AgentId, out presence)) 2310 if (TryGetAvatar(remoteClient.AgentId, out presence))
2311 { 2311 {
2312 presence.Appearance.SetAttachment((int)AttachmentPt, itemID, att.UUID); 2312 InventoryItemBase item = InventoryService.GetItem(new InventoryItemBase(itemID, remoteClient.AgentId));
2313
2314 presence.Appearance.SetAttachment((int)AttachmentPt, itemID, item.AssetID /*att.UUID*/);
2313 IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>(); 2315 IAvatarFactory ava = RequestModuleInterface<IAvatarFactory>();
2314 if (ava != null) 2316 if (ava != null)
2315 { 2317 {