From aaf010da4caff7d9b2b0f4c404e7074efaabcd28 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Fri, 19 Jul 2013 07:07:26 -0400 Subject: [PATCH] Feature Request: Make new ARC threshold change based on debug setting Adds LiruNewARCLimit debug setting --- indra/newview/app_settings/settings.xml | 11 +++++++++++ indra/newview/llvoavatar.cpp | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 2a991e9b7..22e1ec682 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -718,6 +718,17 @@ Value 0 + LiruNewARCLimit + + Comment + The high threshold number used to calculate the colors displayed for new ARC numbers, when LiruSensibleARC is false. Default is 20000. + Persist + 1 + Type + U32 + Value + 20000 + LiruNoTransactionClutter Comment diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 9865e666c..7f210359d 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -8763,7 +8763,7 @@ void LLVOAvatar::idleUpdateRenderCost() else { static const U32 ARC_BODY_PART_COST = 200; - static const U32 ARC_LIMIT = 20000; + static const LLCachedControl ARC_LIMIT("LiruNewARCLimit", 20000); static std::set all_textures;