diff options
author | dan miller | 2007-09-18 02:38:10 +0000 |
---|---|---|
committer | dan miller | 2007-09-18 02:38:10 +0000 |
commit | 04e7fcd0e93300ec25758727ab5cfbb80942e97f (patch) | |
tree | 3efa4058696f97aa6d9a05b7f77e2a6dc3db51f8 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | fixed typo in README (diff) | |
download | opensim-SC_OLD-04e7fcd0e93300ec25758727ab5cfbb80942e97f.zip opensim-SC_OLD-04e7fcd0e93300ec25758727ab5cfbb80942e97f.tar.gz opensim-SC_OLD-04e7fcd0e93300ec25758727ab5cfbb80942e97f.tar.bz2 opensim-SC_OLD-04e7fcd0e93300ec25758727ab5cfbb80942e97f.tar.xz |
RemoveAvatar called from scene.cs; implemented in ODE. Still issues with multi-region; see bug 410
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
825 | { | 825 | { |
826 | presence.CoarseLocationChange(avatar); | 826 | presence.CoarseLocationChange(avatar); |
827 | presence.ControllingClient.SendKillObject(avatar.RegionHandle, avatar.LocalId); | 827 | presence.ControllingClient.SendKillObject(avatar.RegionHandle, avatar.LocalId); |
828 | if (presence.PhysActor != null) | ||
829 | { | ||
830 | phyScene.RemoveAvatar(presence.PhysActor); | ||
831 | } | ||
828 | }); | 832 | }); |
829 | 833 | ||
830 | lock (Avatars) | 834 | lock (Avatars) |