mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Minor fix to region default landing point sanity check
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user