Fix avatars going to corner of region when they are sitting on a child prim and the prim is deleted.
parent
e245638f24
commit
0faba7dc33
|
@ -1421,7 +1421,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
Scene.ForEachScenePresence(sp =>
|
Scene.ForEachScenePresence(sp =>
|
||||||
{
|
{
|
||||||
if (!sp.IsChildAgent && sp.ParentID == LocalId)
|
if (!sp.IsChildAgent && sp.ParentID == part.LocalId)
|
||||||
sp.StandUp();
|
sp.StandUp();
|
||||||
|
|
||||||
if (!silent)
|
if (!silent)
|
||||||
|
|
Loading…
Reference in New Issue