Fix Temporary Attachments not being able to be detached by client

Signed-off-by: Melanie Thielker <melanie@t-data.com>
LSLKeyTest
Vegaslon 2016-04-23 15:49:28 -04:00 committed by Melanie Thielker
parent 7aa3d4256e
commit 46a62a37d1
1 changed files with 1 additions and 1 deletions

View File

@ -1322,7 +1322,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
ScenePresence sp = m_scene.GetScenePresence(remoteClient.AgentId); ScenePresence sp = m_scene.GetScenePresence(remoteClient.AgentId);
SceneObjectGroup group = m_scene.GetGroupByPrim(objectLocalID); SceneObjectGroup group = m_scene.GetGroupByPrim(objectLocalID);
if (sp != null && group != null && group.FromItemID != UUID.Zero) if (sp != null && group != null)
DetachSingleAttachmentToInv(sp, group); DetachSingleAttachmentToInv(sp, group);
} }