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

LSLKeyTest
UbitUmarov 2016-07-12 15:50:05 +01:00
parent d879e119a8
commit e0878864e8
1 changed files with 2 additions and 1 deletions

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;