kill avatar on agents that do not see its new region
parent
7ce45235e6
commit
28c9725730
|
@ -1655,6 +1655,14 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
CollisionPlane = Vector4.UnitW;
|
CollisionPlane = Vector4.UnitW;
|
||||||
|
|
||||||
|
// we need to kill this on agents that do not see the new region
|
||||||
|
m_scene.ForEachRootScenePresence(delegate(ScenePresence p)
|
||||||
|
{
|
||||||
|
if (!p.knowsNeighbourRegion(newRegionHandle))
|
||||||
|
{
|
||||||
|
SendKillTo(p);
|
||||||
|
}
|
||||||
|
});
|
||||||
m_scene.EventManager.TriggerOnMakeChildAgent(this);
|
m_scene.EventManager.TriggerOnMakeChildAgent(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue