diff options
author | UbitUmarov | 2015-10-01 20:50:12 +0100 |
---|---|---|
committer | UbitUmarov | 2015-10-01 20:50:12 +0100 |
commit | 6ae7341e422174f29b92be54e7e6c5a4979d7b33 (patch) | |
tree | cdb4a9b42539c98a830662158dddb26b835f2be8 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | make bakes reception handle empty BakedTexture elements. But at same time st... (diff) | |
download | opensim-SC_OLD-6ae7341e422174f29b92be54e7e6c5a4979d7b33.zip opensim-SC_OLD-6ae7341e422174f29b92be54e7e6c5a4979d7b33.tar.gz opensim-SC_OLD-6ae7341e422174f29b92be54e7e6c5a4979d7b33.tar.bz2 opensim-SC_OLD-6ae7341e422174f29b92be54e7e6c5a4979d7b33.tar.xz |
send DisableSimulator messages on closing childagents. Possible still not on at best timming, or on the right source files
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 9996f6e..c3deeaf 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4076,6 +4076,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4076 | uint x, y; | 4076 | uint x, y; |
4077 | spRegionSizeInfo regInfo; | 4077 | spRegionSizeInfo regInfo; |
4078 | 4078 | ||
4079 | // this should not be here | ||
4080 | IEventQueue eventQueue = Scene.RequestModuleInterface<IEventQueue>(); | ||
4081 | |||
4079 | foreach (ulong handle in knownRegions) | 4082 | foreach (ulong handle in knownRegions) |
4080 | { | 4083 | { |
4081 | // Don't close the agent on this region yet | 4084 | // Don't close the agent on this region yet |
@@ -4095,6 +4098,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4095 | regInfo.sizeX, regInfo.sizeY, newRegionSizeX, newRegionSizeY)) | 4098 | regInfo.sizeX, regInfo.sizeY, newRegionSizeX, newRegionSizeY)) |
4096 | { | 4099 | { |
4097 | byebyeRegions.Add(handle); | 4100 | byebyeRegions.Add(handle); |
4101 | // this should not be here | ||
4102 | if(eventQueue != null) | ||
4103 | eventQueue.DisableSimulator(handle,UUID); | ||
4098 | } | 4104 | } |
4099 | } | 4105 | } |
4100 | else | 4106 | else |
@@ -4103,6 +4109,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4103 | (int)Constants.RegionSize, (int)Constants.RegionSize, newRegionSizeX, newRegionSizeY)) | 4109 | (int)Constants.RegionSize, (int)Constants.RegionSize, newRegionSizeX, newRegionSizeY)) |
4104 | { | 4110 | { |
4105 | byebyeRegions.Add(handle); | 4111 | byebyeRegions.Add(handle); |
4112 | // this should not be here | ||
4113 | if(eventQueue != null) | ||
4114 | eventQueue.DisableSimulator(handle,UUID); | ||
4106 | } | 4115 | } |
4107 | } | 4116 | } |
4108 | } | 4117 | } |