diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index d4d134f..50553dd 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2338,10 +2338,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2338 | //m_log.DebugFormat(" >>> IncomingCreateObject(userID, itemID) <<< {0} {1}", userID, itemID); | 2338 | //m_log.DebugFormat(" >>> IncomingCreateObject(userID, itemID) <<< {0} {1}", userID, itemID); |
2339 | 2339 | ||
2340 | ScenePresence sp = GetScenePresence(userID); | 2340 | ScenePresence sp = GetScenePresence(userID); |
2341 | if (sp != null) | 2341 | if (sp != null && AttachmentsModule != null) |
2342 | { | 2342 | { |
2343 | uint attPt = (uint)sp.Appearance.GetAttachpoint(itemID); | 2343 | uint attPt = (uint)sp.Appearance.GetAttachpoint(itemID); |
2344 | m_sceneGraph.RezSingleAttachment(sp.ControllingClient, itemID, attPt); | 2344 | AttachmentsModule.RezSingleAttachmentFromInventory(sp.ControllingClient, itemID, attPt); |
2345 | } | 2345 | } |
2346 | 2346 | ||
2347 | return false; | 2347 | return false; |