Minor fix to region default landing point sanity check
parent
34d9596f9b
commit
1a6cddf807
|
@ -789,13 +789,13 @@ namespace OpenSim.Framework
|
||||||
bool ValuesCapped = false;
|
bool ValuesCapped = false;
|
||||||
|
|
||||||
// Minimum Positions
|
// Minimum Positions
|
||||||
if (DefaultLandingPoint.X < 0f)
|
if (DefaultLandingPoint.X < buffer_zone)
|
||||||
{
|
{
|
||||||
DefaultLandingPoint.X = buffer_zone;
|
DefaultLandingPoint.X = buffer_zone;
|
||||||
ValuesCapped = true;
|
ValuesCapped = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DefaultLandingPoint.Y < 0f)
|
if (DefaultLandingPoint.Y < buffer_zone)
|
||||||
{
|
{
|
||||||
DefaultLandingPoint.Y = buffer_zone;
|
DefaultLandingPoint.Y = buffer_zone;
|
||||||
ValuesCapped = true;
|
ValuesCapped = true;
|
||||||
|
|
Loading…
Reference in New Issue