mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* More tweaking of the various services to work with nonstandard region sizes. * Now, what's available of the terrain will show and it'll be truncated if it's larger on Linden Clients. Parcel minimum is 64 (256/4) for the client to accept it.
This commit is contained in:
@@ -2494,6 +2494,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
if (!agent.child)
|
||||
{
|
||||
if (agent.startpos.X > (int)Constants.RegionSize - 1)
|
||||
agent.startpos.X = (int)Constants.RegionSize - 1;
|
||||
|
||||
if (agent.startpos.Y > (int)Constants.RegionSize - 1)
|
||||
agent.startpos.Y = (int)Constants.RegionSize - 1;
|
||||
|
||||
// Honor parcel landing type and position.
|
||||
ILandObject land = LandChannel.GetLandObject(agent.startpos.X, agent.startpos.Y);
|
||||
if (land != null)
|
||||
|
||||
Reference in New Issue
Block a user