mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
OpenSim/Region/Environment/Scenes/ScenePresence.cs
More tuning of regioncrossing variables. I made tolerances a little too tight with the last patch.
This commit is contained in:
@@ -576,22 +576,22 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
uint neighbourx = this.m_regionInfo.RegionLocX;
|
||||
uint neighboury = this.m_regionInfo.RegionLocY;
|
||||
|
||||
if (pos.X < 1)
|
||||
if (pos.X < 1.7F)
|
||||
{
|
||||
neighbourx -= 1;
|
||||
newpos.X = 255.9F;
|
||||
}
|
||||
if (pos.X > 255)
|
||||
if (pos.X > 254.3F)
|
||||
{
|
||||
neighbourx += 1;
|
||||
newpos.X = 0.1F;
|
||||
}
|
||||
if (pos.Y < 1)
|
||||
if (pos.Y < 1.7F)
|
||||
{
|
||||
neighboury -= 1;
|
||||
newpos.Y = 255.9F;
|
||||
}
|
||||
if (pos.Y > 255)
|
||||
if (pos.Y > 254.3F)
|
||||
{
|
||||
neighboury += 1;
|
||||
newpos.Y = 0.1F;
|
||||
|
||||
Reference in New Issue
Block a user