diff options
author | UbitUmarov | 2019-04-06 21:26:12 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-06 21:26:12 +0100 |
commit | ec6a52c029792e78d31100a742d575ae71b402e3 (patch) | |
tree | 718f74c329897193aa97153e8617e2a55db0bd60 /OpenSim/Region/Framework | |
parent | set SupportViewerObjectsCache true by default (diff) | |
download | opensim-SC-ec6a52c029792e78d31100a742d575ae71b402e3.zip opensim-SC-ec6a52c029792e78d31100a742d575ae71b402e3.tar.gz opensim-SC-ec6a52c029792e78d31100a742d575ae71b402e3.tar.bz2 opensim-SC-ec6a52c029792e78d31100a742d575ae71b402e3.tar.xz |
change interpretation of a viewer flag
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index aea3a8d..c536184 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4045,11 +4045,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4045 | 4045 | ||
4046 | Scene.SimulationService.ReleaseAgent(originID, UUID, m_callbackURI); | 4046 | Scene.SimulationService.ReleaseAgent(originID, UUID, m_callbackURI); |
4047 | m_callbackURI = null; | 4047 | m_callbackURI = null; |
4048 | //NeedInitialData = 4; | ||
4049 | //return; | ||
4050 | } | 4048 | } |
4051 | // v0.7 close HG sender region | 4049 | // v0.7 close HG sender region |
4052 | if (!string.IsNullOrEmpty(m_newCallbackURI)) | 4050 | else if (!string.IsNullOrEmpty(m_newCallbackURI)) |
4053 | { | 4051 | { |
4054 | m_log.DebugFormat( | 4052 | m_log.DebugFormat( |
4055 | "[SCENE PRESENCE({0})]: Releasing {1} {2} with callback to {3}", | 4053 | "[SCENE PRESENCE({0})]: Releasing {1} {2} with callback to {3}", |
@@ -4062,8 +4060,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
4062 | 4060 | ||
4063 | Scene.SimulationService.ReleaseAgent(originID, UUID, m_newCallbackURI); | 4061 | Scene.SimulationService.ReleaseAgent(originID, UUID, m_newCallbackURI); |
4064 | m_newCallbackURI = null; | 4062 | m_newCallbackURI = null; |
4065 | //NeedInitialData = 4; | ||
4066 | //return; | ||
4067 | } | 4063 | } |
4068 | IEntityTransferModule m_agentTransfer = m_scene.RequestModuleInterface<IEntityTransferModule>(); | 4064 | IEntityTransferModule m_agentTransfer = m_scene.RequestModuleInterface<IEntityTransferModule>(); |
4069 | if (m_agentTransfer != null) | 4065 | if (m_agentTransfer != null) |
@@ -4096,12 +4092,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
4096 | } | 4092 | } |
4097 | else | 4093 | else |
4098 | { | 4094 | { |
4099 | bool cacheCulling = (flags & 1) != 0; | 4095 | //bool cacheCulling = (flags & 1) != 0; |
4100 | bool cacheEmpty; | 4096 | bool cacheEmpty = (flags & 2) != 0;; |
4101 | if (cacheCulling) | ||
4102 | cacheEmpty = (flags & 2) != 0; | ||
4103 | else | ||
4104 | cacheEmpty = true; | ||
4105 | 4097 | ||
4106 | EntityBase[] entities = Scene.Entities.GetEntities(); | 4098 | EntityBase[] entities = Scene.Entities.GetEntities(); |
4107 | if(cacheEmpty) | 4099 | if(cacheEmpty) |