Don't attach attachements to child agents. This coincidentially fixes a race
condition that was the reason for mantis #2218.0.6.0-stable
parent
83b030229e
commit
f6071c030d
|
@ -710,6 +710,9 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
ScenePresence avatar = m_scene.GetScenePresence(agentID);
|
ScenePresence avatar = m_scene.GetScenePresence(agentID);
|
||||||
if (avatar != null)
|
if (avatar != null)
|
||||||
{
|
{
|
||||||
|
// don't attach attachments to child agents
|
||||||
|
if (avatar.IsChildAgent) return;
|
||||||
|
|
||||||
DetachFromBackup(this);
|
DetachFromBackup(this);
|
||||||
m_rootPart.AttachedAvatar = agentID;
|
m_rootPart.AttachedAvatar = agentID;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue