aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-07 17:46:23 +0000
committerJustin Clarke Casey2009-04-07 17:46:23 +0000
commited6165ab9cb0726ab4d41265b097faf1d12d15b4 (patch)
treeeeb08d6257ccd82bebdadc95020fe31698643858 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parenttemporarily revert llanglebetween patch until unit test can be updated - affe... (diff)
downloadopensim-SC-ed6165ab9cb0726ab4d41265b097faf1d12d15b4.zip
opensim-SC-ed6165ab9cb0726ab4d41265b097faf1d12d15b4.tar.gz
opensim-SC-ed6165ab9cb0726ab4d41265b097faf1d12d15b4.tar.bz2
opensim-SC-ed6165ab9cb0726ab4d41265b097faf1d12d15b4.tar.xz
* Apply http://opensimulator.org/mantis/view.php?id=3227
* Implement "Add To Outfit" * Thanks FredoChaplin
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 0be6b7f..11cee7c 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -31,6 +31,7 @@ using System.Reflection;
31using System.Text; 31using System.Text;
32using System.Timers; 32using System.Timers;
33using OpenMetaverse; 33using OpenMetaverse;
34using OpenMetaverse.Packets;
34using log4net; 35using log4net;
35using OpenSim.Framework; 36using OpenSim.Framework;
36using OpenSim.Framework.Communications.Cache; 37using OpenSim.Framework.Communications.Cache;
@@ -2563,6 +2564,15 @@ namespace OpenSim.Region.Framework.Scenes
2563 return att.UUID; 2564 return att.UUID;
2564 } 2565 }
2565 2566
2567 public void RezMultipleAttachments(IClientAPI remoteClient, RezMultipleAttachmentsFromInvPacket.HeaderDataBlock header,
2568 RezMultipleAttachmentsFromInvPacket.ObjectDataBlock[] objects)
2569 {
2570 foreach (RezMultipleAttachmentsFromInvPacket.ObjectDataBlock obj in objects)
2571 {
2572 RezSingleAttachment(remoteClient, obj.ItemID, obj.AttachmentPt);
2573 }
2574 }
2575
2566 public void AttachObject(IClientAPI controllingClient, uint localID, uint attachPoint, Quaternion rot, Vector3 pos, bool silent) 2576 public void AttachObject(IClientAPI controllingClient, uint localID, uint attachPoint, Quaternion rot, Vector3 pos, bool silent)
2567 { 2577 {
2568 m_sceneGraph.AttachObject(controllingClient, localID, attachPoint, rot, pos, silent); 2578 m_sceneGraph.AttachObject(controllingClient, localID, attachPoint, rot, pos, silent);