httptests
UbitUmarov 2018-05-18 05:31:45 +01:00
parent c7f3f3586d
commit 631308a1d1
2 changed files with 10 additions and 12 deletions

View File

@ -456,17 +456,15 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
if(screenFactor < 0)
return;
int p2 = (int)( -(float)Math.Log(screenFactor) * 1.442695f * 0.5 - 1);
int p2 = (int)(-(float)Math.Log(screenFactor) * 1.442695f * 0.5 - 1);
if(p2 < 0)
p2 = 0;
else if(p2>3)
else if(p2 > 3)
p2 = 3;
DetailLevel lod = (DetailLevel)(3 - p2);
// DetailLevel lod = DetailLevel.High;
FacetedMesh renderMesh = null;
Primitive omvPrim = prim.Shape.ToOmvPrimitive(prim.OffsetPosition, prim.RotationOffset);

Binary file not shown.