summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-10-03 15:40:09 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-10-03 15:40:09 -0600
commitc2521e41d794c53cd6f0cedcff17ca97737debe5 (patch)
tree95460327783afc2c9e0b6c74231231277307054d /indra/newview
parenteeb5fb6d35fbc1782dc927ce9fa7357d93b8cc54 (diff)
change debug setting name "ObjectCacheViewCullingEnabled" to "RequestFullRegionCache"
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/app_settings/settings.xml4
-rwxr-xr-xindra/newview/llworld.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 051cf6d43e..305aaf2a3a 100755
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -6868,10 +6868,10 @@
<key>Value</key>
<integer>1</integer>
</map>
- <key>ObjectCacheViewCullingEnabled</key>
+ <key>RequestFullRegionCache</key>
<map>
<key>Comment</key>
- <string>Enable the object cache view culling. Needs to restart viewer.</string>
+ <string>If set, ask sim to send full region object cache. Needs to restart viewer.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index d600abeb0a..f283cdb4b8 100755
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -110,7 +110,7 @@ LLWorld::LLWorld() :
gGL.getTexUnit(0)->bind(mDefaultWaterTexturep);
mDefaultWaterTexturep->setAddressMode(LLTexUnit::TAM_CLAMP);
- LLViewerRegion::sVOCacheCullingEnabled = gSavedSettings.getBOOL("ObjectCacheViewCullingEnabled") && gSavedSettings.getBOOL("ObjectCacheEnabled");
+ LLViewerRegion::sVOCacheCullingEnabled = gSavedSettings.getBOOL("RequestFullRegionCache") && gSavedSettings.getBOOL("ObjectCacheEnabled");
}