aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorVegaslon2016-04-23 15:49:28 -0400
committerMelanie Thielker2016-04-25 19:44:15 +0200
commit46a62a37d13865fa558392c0d72782bb22ddd033 (patch)
tree18c8e63edb4b3808fa201466840a316ddb511cf4 /OpenSim
parentPOSTGRES: Update database migrations to be in accordance with MySQL table def... (diff)
downloadopensim-SC-46a62a37d13865fa558392c0d72782bb22ddd033.zip
opensim-SC-46a62a37d13865fa558392c0d72782bb22ddd033.tar.gz
opensim-SC-46a62a37d13865fa558392c0d72782bb22ddd033.tar.bz2
opensim-SC-46a62a37d13865fa558392c0d72782bb22ddd033.tar.xz
Fix Temporary Attachments not being able to be detached by client
Signed-off-by: Melanie Thielker <melanie@t-data.com>
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index d199a35..7380b63 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -1322,7 +1322,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
1322 ScenePresence sp = m_scene.GetScenePresence(remoteClient.AgentId); 1322 ScenePresence sp = m_scene.GetScenePresence(remoteClient.AgentId);
1323 SceneObjectGroup group = m_scene.GetGroupByPrim(objectLocalID); 1323 SceneObjectGroup group = m_scene.GetGroupByPrim(objectLocalID);
1324 1324
1325 if (sp != null && group != null && group.FromItemID != UUID.Zero) 1325 if (sp != null && group != null)
1326 DetachSingleAttachmentToInv(sp, group); 1326 DetachSingleAttachmentToInv(sp, group);
1327 } 1327 }
1328 1328