Make Scene.DefaultDrawDistance to be the max of the region size and the
user setting. Seems this parameter has many side effects.0.8.0.3
parent
d6837f5dc7
commit
0f03c64a0c
|
@ -217,7 +217,9 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
get {
|
||||
if (RegionInfo != null)
|
||||
{
|
||||
m_defaultDrawDistance = Math.Max(RegionInfo.RegionSizeX, RegionInfo.RegionSizeY);
|
||||
float largestDimension = Math.Max(RegionInfo.RegionSizeX, RegionInfo.RegionSizeY);
|
||||
m_defaultDrawDistance = Math.Max(m_defaultDrawDistance, largestDimension);
|
||||
|
||||
}
|
||||
return m_defaultDrawDistance;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue