Fix Temporary Attachments not being able to be detached by client
Signed-off-by: Melanie Thielker <melanie@t-data.com>LSLKeyTest
parent
7aa3d4256e
commit
46a62a37d1
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue