Minor fix to region default landing point sanity check

melanie
AliciaRaven 2016-11-22 21:23:01 +00:00
parent 34d9596f9b
commit 1a6cddf807
1 changed files with 2 additions and 2 deletions

View File

@ -789,13 +789,13 @@ namespace OpenSim.Framework
bool ValuesCapped = false;
// Minimum Positions
if (DefaultLandingPoint.X < 0f)
if (DefaultLandingPoint.X < buffer_zone)
{
DefaultLandingPoint.X = buffer_zone;
ValuesCapped = true;
}
if (DefaultLandingPoint.Y < 0f)
if (DefaultLandingPoint.Y < buffer_zone)
{
DefaultLandingPoint.Y = buffer_zone;
ValuesCapped = true;