diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index cffb23c..e81b07b 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2572,6 +2572,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2572 | public virtual void SubscribeToClientNetworkEvents(IClientAPI client) | 2572 | public virtual void SubscribeToClientNetworkEvents(IClientAPI client) |
2573 | { | 2573 | { |
2574 | client.OnNetworkStatsUpdate += StatsReporter.AddPacketsStats; | 2574 | client.OnNetworkStatsUpdate += StatsReporter.AddPacketsStats; |
2575 | client.OnViewerEffect += ProcessViewerEffect; | ||
2575 | } | 2576 | } |
2576 | 2577 | ||
2577 | protected virtual void UnsubscribeToClientEvents(IClientAPI client) | 2578 | protected virtual void UnsubscribeToClientEvents(IClientAPI client) |
@@ -2726,11 +2727,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2726 | public virtual void UnSubscribeToClientNetworkEvents(IClientAPI client) | 2727 | public virtual void UnSubscribeToClientNetworkEvents(IClientAPI client) |
2727 | { | 2728 | { |
2728 | client.OnNetworkStatsUpdate -= StatsReporter.AddPacketsStats; | 2729 | client.OnNetworkStatsUpdate -= StatsReporter.AddPacketsStats; |
2730 | client.OnViewerEffect -= ProcessViewerEffect; | ||
2729 | } | 2731 | } |
2730 | 2732 | ||
2731 | |||
2732 | |||
2733 | |||
2734 | /// <summary> | 2733 | /// <summary> |
2735 | /// Teleport an avatar to their home region | 2734 | /// Teleport an avatar to their home region |
2736 | /// </summary> | 2735 | /// </summary> |
@@ -3053,16 +3052,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3053 | } | 3052 | } |
3054 | 3053 | ||
3055 | /// <summary> | 3054 | /// <summary> |
3056 | /// Closes all endpoints with the circuitcode provided. | ||
3057 | /// </summary> | ||
3058 | /// <param name="circuitcode">Circuit Code of the endpoint to close</param> | ||
3059 | public override void CloseAllAgents(uint circuitcode) | ||
3060 | { | ||
3061 | // Called by ClientView to kill all circuit codes | ||
3062 | ClientManager.CloseAllAgents(circuitcode); | ||
3063 | } | ||
3064 | |||
3065 | /// <summary> | ||
3066 | /// Inform all other ScenePresences on this Scene that someone else has changed position on the minimap. | 3055 | /// Inform all other ScenePresences on this Scene that someone else has changed position on the minimap. |
3067 | /// </summary> | 3056 | /// </summary> |
3068 | public void NotifyMyCoarseLocationChange() | 3057 | public void NotifyMyCoarseLocationChange() |