diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index a0a2624..c5c9260 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2461,14 +2461,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
2461 | /// <returns>False</returns> | 2461 | /// <returns>False</returns> |
2462 | public virtual bool IncomingCreateObject(UUID userID, UUID itemID) | 2462 | public virtual bool IncomingCreateObject(UUID userID, UUID itemID) |
2463 | { | 2463 | { |
2464 | //m_log.DebugFormat(" >>> IncomingCreateObject(userID, itemID) <<< {0} {1}", userID, itemID); | 2464 | m_log.DebugFormat(" >>> IncomingCreateObject(userID, itemID) <<< {0} {1}", userID, itemID); |
2465 | 2465 | ||
2466 | ScenePresence sp = GetScenePresence(userID); | 2466 | // Commented out since this is as yet unused and is arguably not the appropriate place to do this, as |
2467 | if (sp != null && AttachmentsModule != null) | 2467 | // attachments are being rezzed elsewhere in AddNewClient() |
2468 | { | 2468 | // ScenePresence sp = GetScenePresence(userID); |
2469 | uint attPt = (uint)sp.Appearance.GetAttachpoint(itemID); | 2469 | // if (sp != null && AttachmentsModule != null) |
2470 | AttachmentsModule.RezSingleAttachmentFromInventory(sp.ControllingClient, itemID, attPt); | 2470 | // { |
2471 | } | 2471 | // uint attPt = (uint)sp.Appearance.GetAttachpoint(itemID); |
2472 | // AttachmentsModule.RezSingleAttachmentFromInventory(sp.ControllingClient, itemID, attPt); | ||
2473 | // } | ||
2472 | 2474 | ||
2473 | return false; | 2475 | return false; |
2474 | } | 2476 | } |