summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2017-02-22 16:53:25 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2017-02-22 16:53:25 +0200
commitc627d0a2401765f13529e8e2e9489d7e5fd7e777 (patch)
tree6b7b37b4f8642a3d612ee3875126e288066792aa /indra/newview/llvovolume.cpp
parent605160d501158362ced3e62425bdcd8d28895fd5 (diff)
parentb923ee861bf2c5c6ac065ff9995cd6bf5da02b6c (diff)
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 098996147f..657babd92c 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -81,8 +81,6 @@
const F32 FORCE_SIMPLE_RENDER_AREA = 512.f;
const F32 FORCE_CULL_AREA = 8.f;
-const F32 MIN_RENDER_COMPLEXITY = 0.f;
-const F32 MAX_RENDER_COMPLEXITY = 1.0e6f;
U32 JOINT_COUNT_REQUIRED_FOR_FULLRIG = 1;
BOOL gAnimateTextures = TRUE;
@@ -3617,8 +3615,6 @@ U32 LLVOVolume::getRenderCost(texture_cost_t &textures) const
shame += media_faces * ARC_MEDIA_FACE_COST;
}
- shame = llclamp(shame, MIN_RENDER_COMPLEXITY, MAX_RENDER_COMPLEXITY);
-
if (shame > mRenderComplexity_current)
{
mRenderComplexity_current = (S32)shame;