From 04e7fcd0e93300ec25758727ab5cfbb80942e97f Mon Sep 17 00:00:00 2001 From: dan miller Date: Tue, 18 Sep 2007 02:38:10 +0000 Subject: RemoveAvatar called from scene.cs; implemented in ODE. Still issues with multi-region; see bug 410 --- OpenSim/Region/Environment/Scenes/Scene.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index f69aabf..09992fd 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -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) -- cgit v1.1