map...
parent
c7f3f3586d
commit
631308a1d1
|
@ -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);
|
||||
|
||||
|
|
BIN
bin/Warp3D.dll
BIN
bin/Warp3D.dll
Binary file not shown.
Loading…
Reference in New Issue