diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llvotree.cpp | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/newview/llvotree.cpp')
-rw-r--r-- | linden/indra/newview/llvotree.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/newview/llvotree.cpp b/linden/indra/newview/llvotree.cpp index 45a9e0a..a752fca 100644 --- a/linden/indra/newview/llvotree.cpp +++ b/linden/indra/newview/llvotree.cpp | |||
@@ -406,15 +406,13 @@ void LLVOTree::setPixelAreaAndAngle(LLAgent &agent) | |||
406 | 406 | ||
407 | void LLVOTree::updateTextures(LLAgent &agent) | 407 | void LLVOTree::updateTextures(LLAgent &agent) |
408 | { | 408 | { |
409 | F32 texel_area_ratio = 1.f; | ||
410 | F32 cos_angle = 1.f; | ||
411 | if (mTreeImagep) | 409 | if (mTreeImagep) |
412 | { | 410 | { |
413 | if (gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_TEXTURE_AREA)) | 411 | if (gPipeline.hasRenderDebugMask(LLPipeline::RENDER_DEBUG_TEXTURE_AREA)) |
414 | { | 412 | { |
415 | setDebugText(llformat("%4.0f", fsqrtf(mPixelArea))); | 413 | setDebugText(llformat("%4.0f", fsqrtf(mPixelArea))); |
416 | } | 414 | } |
417 | mTreeImagep->addTextureStats(mPixelArea, texel_area_ratio, cos_angle); | 415 | mTreeImagep->addTextureStats(mPixelArea); |
418 | } | 416 | } |
419 | 417 | ||
420 | } | 418 | } |