diff options
author | Oz Linden <oz@lindenlab.com> | 2012-09-11 08:47:33 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-09-11 08:47:33 -0400 |
commit | 5eb6614913b97963d185afe698e677c880399c78 (patch) | |
tree | c7e342b7b68192fc0eb4eba09ef52c17ac16ffa5 /indra/newview/llsurface.cpp | |
parent | 8189b28d2247bf99f76ace63e78021a43b5e15a1 (diff) | |
parent | 2aadccd30843f3a29882d13ed2db50cebcba0374 (diff) |
merge changes for DRTVWR-212
Diffstat (limited to 'indra/newview/llsurface.cpp')
-rw-r--r-- | indra/newview/llsurface.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/newview/llsurface.cpp b/indra/newview/llsurface.cpp index f64a72a616..65393cc168 100644 --- a/indra/newview/llsurface.cpp +++ b/indra/newview/llsurface.cpp @@ -56,7 +56,6 @@ #include "lldrawable.h" extern LLPipeline gPipeline; -extern bool gShiftFrame; LLColor4U MAX_WATER_COLOR(0, 48, 96, 240); @@ -295,7 +294,7 @@ void LLSurface::initTextures() mWaterObjp = (LLVOWater *)gObjectList.createObjectViewer(LLViewerObject::LL_VO_WATER, mRegionp); gPipeline.createObject(mWaterObjp); LLVector3d water_pos_global = from_region_handle(mRegionp->getHandle()); - water_pos_global += LLVector3d(128.0, 128.0, DEFAULT_WATER_HEIGHT); // region doesn't have a valid water height yet + water_pos_global += LLVector3d(128.0, 128.0, DEFAULT_WATER_HEIGHT); mWaterObjp->setPositionGlobal(water_pos_global); } } @@ -622,11 +621,6 @@ 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; |