diff options
author | callum <none@none> | 2012-06-15 13:00:49 -0700 |
---|---|---|
committer | callum <none@none> | 2012-06-15 13:00:49 -0700 |
commit | 2eedd0c3c0fa8b4360c1402c1fb604010a4a2d82 (patch) | |
tree | d2c5ccf950227d0b62d73b60f40ed61fbf64f473 /indra/newview/llsurface.cpp | |
parent | 8006203bdae4e78b4eeb54e715190ace58f43556 (diff) |
Merge with tip
Diffstat (limited to 'indra/newview/llsurface.cpp')
-rw-r--r-- | indra/newview/llsurface.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llsurface.cpp b/indra/newview/llsurface.cpp index 54a259f725..230e871b49 100644 --- a/indra/newview/llsurface.cpp +++ b/indra/newview/llsurface.cpp @@ -56,6 +56,7 @@ #include "lldrawable.h" extern LLPipeline gPipeline; +extern bool gShiftFrame; LLColor4U MAX_WATER_COLOR(0, 48, 96, 240); @@ -608,6 +609,11 @@ void LLSurface::moveZ(const S32 x, const S32 y, const F32 delta) void LLSurface::updatePatchVisibilities(LLAgent &agent) { + if (gShiftFrame) + { + return; + } + LLVector3 pos_region = mRegionp->getPosRegionFromGlobal(gAgentCamera.getCameraPositionGlobal()); LLSurfacePatch *patchp; |