diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 0266faf..dc3f57a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3903,6 +3903,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
3903 | 3903 | ||
3904 | sp.LifecycleState = ScenePresenceState.Running; | 3904 | sp.LifecycleState = ScenePresenceState.Running; |
3905 | 3905 | ||
3906 | |||
3907 | //HACK part A | ||
3908 | // kill in viewers sp.localID that they may still know about | ||
3909 | |||
3910 | SendKillObject(new List<uint> { sp.LocalId }); | ||
3911 | |||
3912 | //HACK part B | ||
3913 | // keep using same localID | ||
3914 | |||
3915 | |||
3906 | if (EntityTransferModule.IsInTransit(sp.UUID)) | 3916 | if (EntityTransferModule.IsInTransit(sp.UUID)) |
3907 | { | 3917 | { |
3908 | sp.DoNotCloseAfterTeleport = true; | 3918 | sp.DoNotCloseAfterTeleport = true; |