diff options
author | Oz Linden <oz@lindenlab.com> | 2015-09-25 16:10:11 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2015-09-25 16:10:11 -0400 |
commit | e1ce065b8b2f4a01a166ddd90ef7c873e04d0893 (patch) | |
tree | d28495144e83ffbe7d9fcd0dd3c9c203d03f9809 /indra/newview/llvoavatar.cpp | |
parent | c56015db23a224d928bc4adf24470c7a2a528aec (diff) |
MAINT-5673: set correct default for RenderAutoMuteSurfaceAreaLimit
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rwxr-xr-x | indra/newview/llvoavatar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 552a9f6b28..4546da71cc 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -6484,7 +6484,7 @@ bool LLVOAvatar::isTooComplex() const // Determine if visually muted or not static LLCachedControl<U32> max_render_cost(gSavedSettings, "RenderAvatarMaxComplexity", 0U); static LLCachedControl<U32> max_attachment_bytes(gSavedSettings, "RenderAutoMuteByteLimit", 0U); - static LLCachedControl<F32> max_attachment_area(gSavedSettings, "RenderAutoMuteSurfaceAreaLimit", 0.0f); + static LLCachedControl<F32> max_attachment_area(gSavedSettings, "RenderAutoMuteSurfaceAreaLimit", 1.0E6f); too_complex = ((max_render_cost > 0 && mVisualComplexity > max_render_cost) || (max_attachment_bytes > 0 && mAttachmentGeometryBytes > max_attachment_bytes) || (max_attachment_area > 0.0f && mAttachmentSurfaceArea > max_attachment_area) @@ -8245,7 +8245,7 @@ void LLVOAvatar::idleUpdateRenderComplexity() mText->addLine(info_line, info_color, info_style); // Attachment Surface Area - static LLCachedControl<F32> max_attachment_area(gSavedSettings, "RenderAutoMuteSurfaceAreaLimit", 0.0f); + static LLCachedControl<F32> max_attachment_area(gSavedSettings, "RenderAutoMuteSurfaceAreaLimit", 1.0E6f); info_line = llformat("%.2f m^2", mAttachmentSurfaceArea); if (max_attachment_area != 0) // zero means don't care, so don't bother coloring based on this |