diff options
author | UbitUmarov | 2016-07-12 15:50:05 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-12 15:50:05 +0100 |
commit | e0878864e869889b30f6df7b92e56a4b03a8a4f3 (patch) | |
tree | 26e2125a9b8b138716eccc08ae68e4670a54217a /OpenSim/Region | |
parent | add object UUID to a debug/warn message (diff) | |
download | opensim-SC_OLD-e0878864e869889b30f6df7b92e56a4b03a8a4f3.zip opensim-SC_OLD-e0878864e869889b30f6df7b92e56a4b03a8a4f3.tar.gz opensim-SC_OLD-e0878864e869889b30f6df7b92e56a4b03a8a4f3.tar.bz2 opensim-SC_OLD-e0878864e869889b30f6df7b92e56a4b03a8a4f3.tar.xz |
work around missing information on child creation, hidding its effects with reduced view range in culling option is on
Diffstat (limited to 'OpenSim/Region')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3c5630e..f2a0c32 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -290,9 +290,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
290 | public int ChildTerseUpdatePeriod { get; set; } | 290 | public int ChildTerseUpdatePeriod { get; set; } |
291 | 291 | ||
292 | protected float m_defaultDrawDistance = 255f; | 292 | protected float m_defaultDrawDistance = 255f; |
293 | protected float m_defaultCullingDrawDistance = 16f; | ||
293 | public float DefaultDrawDistance | 294 | public float DefaultDrawDistance |
294 | { | 295 | { |
295 | get { return m_defaultDrawDistance; } | 296 | get { return ObjectsCullingByDistance?m_defaultCullingDrawDistance:m_defaultDrawDistance; } |
296 | } | 297 | } |
297 | 298 | ||
298 | protected float m_maxDrawDistance = 512.0f; | 299 | protected float m_maxDrawDistance = 512.0f; |