aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview
diff options
context:
space:
mode:
authorTom Grimshaw2010-06-08 17:34:15 +0100
committerJacek Antonelli2010-06-19 02:43:37 -0500
commit38158f663774a59cffb39ea0b9549a3855ed6749 (patch)
tree4c81287783b7be77746e6c75c934b874a6b8cb2e /linden/indra/newview
parentChatbar gestures tooltip should say something useful (diff)
downloadmeta-impy-38158f663774a59cffb39ea0b9549a3855ed6749.zip
meta-impy-38158f663774a59cffb39ea0b9549a3855ed6749.tar.gz
meta-impy-38158f663774a59cffb39ea0b9549a3855ed6749.tar.bz2
meta-impy-38158f663774a59cffb39ea0b9549a3855ed6749.tar.xz
Implement UseKDUIfAvailable setting to specify if we will allow the viewer to use the llkdu library if it exists
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/app_settings/settings.xml11
-rw-r--r--linden/indra/newview/llappviewer.cpp2
2 files changed, 12 insertions, 1 deletions
diff --git a/linden/indra/newview/app_settings/settings.xml b/linden/indra/newview/app_settings/settings.xml
index c1ed2b4..aa6b1fa 100644
--- a/linden/indra/newview/app_settings/settings.xml
+++ b/linden/indra/newview/app_settings/settings.xml
@@ -674,6 +674,17 @@
674 <key>Value</key> 674 <key>Value</key>
675 <string>f54a0c32-3cd1-d49a-5b4f-7b792bebc204</string> 675 <string>f54a0c32-3cd1-d49a-5b4f-7b792bebc204</string>
676 </map> 676 </map>
677 <key>UseKDUIfAvailable</key>
678 <map>
679 <key>Comment</key>
680 <string>Enable KDU DSO</string>
681 <key>Persist</key>
682 <integer>1</integer>
683 <key>Type</key>
684 <string>Boolean</string>
685 <key>Value</key>
686 <integer>1</integer>
687 </map>
677 <key>VerticalIMTabs</key> 688 <key>VerticalIMTabs</key>
678 <map> 689 <map>
679 <key>Comment</key> 690 <key>Comment</key>
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 0b09d00..ab4157f 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -1550,7 +1550,7 @@ bool LLAppViewer::initThreads()
1550 LLAppViewer::sImageDecodeThread = new LLImageDecodeThread(enable_threads && true); 1550 LLAppViewer::sImageDecodeThread = new LLImageDecodeThread(enable_threads && true);
1551 LLAppViewer::sTextureCache = new LLTextureCache(enable_threads && true); 1551 LLAppViewer::sTextureCache = new LLTextureCache(enable_threads && true);
1552 LLAppViewer::sTextureFetch = new LLTextureFetch(LLAppViewer::getTextureCache(), sImageDecodeThread, enable_threads && true); 1552 LLAppViewer::sTextureFetch = new LLTextureFetch(LLAppViewer::getTextureCache(), sImageDecodeThread, enable_threads && true);
1553 LLImage::initClass(); 1553 LLImage::initClass(gSavedSettings.getBOOL("UseKDUIfAvailable"));
1554 1554
1555 // *FIX: no error handling here! 1555 // *FIX: no error handling here!
1556 return true; 1556 return true;