work around missing information on child creation, hidding its effects with reduced view range in culling option is on

This commit is contained in:
UbitUmarov
2016-07-12 15:50:05 +01:00
parent d879e119a8
commit e0878864e8

View File

@@ -290,9 +290,10 @@ namespace OpenSim.Region.Framework.Scenes
public int ChildTerseUpdatePeriod { get; set; }
protected float m_defaultDrawDistance = 255f;
protected float m_defaultCullingDrawDistance = 16f;
public float DefaultDrawDistance
{
get { return m_defaultDrawDistance; }
get { return ObjectsCullingByDistance?m_defaultCullingDrawDistance:m_defaultDrawDistance; }
}
protected float m_maxDrawDistance = 512.0f;