From a4551b027bc3f9dfcf79f74210a1156abfb7bb2f Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Sat, 30 Jun 2012 01:14:49 +0100
Subject: Removing unused handling of incoming create object by userID and
itemID only.
It appears this was never actually used since attachments were rezzed in other code.
This was never available on remote simulator comms, only local.
---
OpenSim/Region/Framework/Scenes/Scene.cs | 22 ----------------------
1 file changed, 22 deletions(-)
(limited to 'OpenSim/Region/Framework')
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 0f23cc7..293c72a 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2502,28 +2502,6 @@ namespace OpenSim.Region.Framework.Scenes
}
///
- /// Attachment rezzing
- ///
- /// Agent Unique ID
- /// Object ID
- /// False
- public virtual bool IncomingCreateObject(UUID userID, UUID itemID)
- {
- m_log.DebugFormat(" >>> IncomingCreateObject(userID, itemID) <<< {0} {1}", userID, itemID);
-
- // Commented out since this is as yet unused and is arguably not the appropriate place to do this, as
- // attachments are being rezzed elsewhere in AddNewClient()
-// ScenePresence sp = GetScenePresence(userID);
-// if (sp != null && AttachmentsModule != null)
-// {
-// uint attPt = (uint)sp.Appearance.GetAttachpoint(itemID);
-// AttachmentsModule.RezSingleAttachmentFromInventory(sp.ControllingClient, itemID, attPt);
-// }
-
- return false;
- }
-
- ///
/// Adds a Scene Object group to the Scene.
/// Verifies that the creator of the object is not banned from the simulator.
/// Checks if the item is an Attachment
--
cgit v1.1