diff options
author | Oz Linden <oz@lindenlab.com> | 2011-04-10 22:39:31 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-04-10 22:39:31 -0400 |
commit | 60bceb759b592348b403689ffa8ed9c768126f8b (patch) | |
tree | 33b0ece80cc12f390683d89c30f2a706fa87bd50 /indra/newview/llworld.cpp | |
parent | c9c192e2c476e73807d23cdda0814cb221a96b95 (diff) | |
parent | e2baffa940a5797f2055f13ceb9722de524b2ec3 (diff) |
merge changes for storm-954
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r-- | indra/newview/llworld.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index 6a2b4cf0a5..6b2af1f8b7 100644 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -98,11 +98,6 @@ LLWorld::LLWorld() : mEdgeWaterObjects[i] = NULL; } - if (gNoRender) - { - return; - } - LLPointer<LLImageRaw> raw = new LLImageRaw(1,1,4); U8 *default_texture = raw->getData(); *(default_texture++) = MAX_WATER_COLOR.mV[0]; @@ -626,10 +621,7 @@ void LLWorld::updateVisibilities() if (LLViewerCamera::getInstance()->sphereInFrustum(regionp->getCenterAgent(), radius)) { regionp->calculateCameraDistance(); - if (!gNoRender) - { - regionp->getLand().updatePatchVisibilities(gAgent); - } + regionp->getLand().updatePatchVisibilities(gAgent); } else { |