mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
clean some spurius chars and a few other things. Thanks Vincent Sylvester
This commit is contained in:
@@ -302,9 +302,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Vector3 npos = sceneObject.RootPart.GroupPosition;
|
||||
bool clampZ = m_parentScene.ClampNegativeZ;
|
||||
|
||||
if (!(((sceneObject.RootPart.Shape.PCode == (byte)PCode.Prim) && (sceneObject.RootPart.Shape.State != 0))) && (npos.X < 0.0 || npos.Y < 0.0 || (npos.Z < 0.0 && clampZ) ||
|
||||
npos.X > regionSizeX ||
|
||||
npos.Y > regionSizeY))
|
||||
if (!((sceneObject.RootPart.Shape.PCode == (byte)PCode.Prim) && (sceneObject.RootPart.Shape.State != 0)) && (npos.X < 0.0 || npos.Y < 0.0 || (npos.Z < 0.0 && clampZ) ||
|
||||
npos.X > regionSizeX || npos.Y > regionSizeY))
|
||||
{
|
||||
if (npos.X < 0.0) npos.X = 1.0f;
|
||||
if (npos.Y < 0.0) npos.Y = 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user