clean some spurius chars and a few other things. Thanks Vincent Sylvester

This commit is contained in:
UbitUmarov
2022-11-12 02:49:01 +00:00
parent 472c243362
commit d9380c9b83
57 changed files with 111 additions and 112 deletions

View File

@@ -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;