mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
RemoveAvatar called from scene.cs; implemented in ODE. Still issues with multi-region; see bug 410
This commit is contained in:
@@ -825,6 +825,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
{
|
||||
presence.CoarseLocationChange(avatar);
|
||||
presence.ControllingClient.SendKillObject(avatar.RegionHandle, avatar.LocalId);
|
||||
if (presence.PhysActor != null)
|
||||
{
|
||||
phyScene.RemoveAvatar(presence.PhysActor);
|
||||
}
|
||||
});
|
||||
|
||||
lock (Avatars)
|
||||
|
||||
Reference in New Issue
Block a user