diff --git a/indra/newview/llvowater.cpp b/indra/newview/llvowater.cpp index 537ff6de5bd2540528fbb5161a264256ad8f299f..6d5496eada8d9001166eec64025f50ea7199e2c7 100644 --- a/indra/newview/llvowater.cpp +++ b/indra/newview/llvowater.cpp @@ -190,13 +190,6 @@ BOOL LLVOWater::updateGeometry(LLDrawable *drawable) F32 size_inv = 1.f / size; - F32 z_fudge = 0.f; - - if (getIsEdgePatch()) - { //bump edge patches down 10 cm to prevent aliasing along edges - z_fudge = -0.1f; - } - for (y = 0; y < size; y++) { for (x = 0; x < size; x++) @@ -205,7 +198,6 @@ BOOL LLVOWater::updateGeometry(LLDrawable *drawable) position_agent = getPositionAgent() - getScale() * 0.5f; position_agent.mV[VX] += (x + 0.5f) * step_x; position_agent.mV[VY] += (y + 0.5f) * step_y; - position_agent.mV[VZ] += z_fudge; *verticesp++ = position_agent - right + up; *verticesp++ = position_agent - right - up;