mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
on object delete send a direct kill and a delayed one via updates queue, Until we find why some are missing, (if its not by udp nature). also remove redundant avatar stands
This commit is contained in:
@@ -2078,7 +2078,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
Scene.ForEachScenePresence(delegate(ScenePresence avatar)
|
||||
{
|
||||
if (!avatar.IsChildAgent && avatar.ParentID == LocalId)
|
||||
if (!avatar.IsChildAgent && avatar.ParentID == LocalId && avatar.ParentUUID == UUID.Zero)
|
||||
avatar.StandUp();
|
||||
|
||||
if (!silent)
|
||||
@@ -2092,6 +2092,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
// Send a kill object immediately
|
||||
avatar.ControllingClient.SendKillObject(new List<uint> { part.LocalId });
|
||||
//direct enqueue another delayed kill
|
||||
avatar.ControllingClient.SendEntityUpdate(part,PrimUpdateFlags.Kill);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user