fix a 1m diference in regions view range estimations
parent
d5e21a0ad2
commit
c903e3afd0
|
@ -741,7 +741,7 @@ namespace OpenSim.Framework
|
||||||
int oldsizex, int oldsizey, int newsizex, int newsizey)
|
int oldsizex, int oldsizey, int newsizex, int newsizey)
|
||||||
{
|
{
|
||||||
// we still need to make sure we see new region 1stNeighbors
|
// we still need to make sure we see new region 1stNeighbors
|
||||||
|
drawdist--;
|
||||||
oldx *= Constants.RegionSize;
|
oldx *= Constants.RegionSize;
|
||||||
newx *= Constants.RegionSize;
|
newx *= Constants.RegionSize;
|
||||||
if (oldx + oldsizex + drawdist < newx)
|
if (oldx + oldsizex + drawdist < newx)
|
||||||
|
|
Loading…
Reference in New Issue