aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimage/llimage.cpp
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/llimage/llimage.cpp
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/llimage/llimage.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llimage/llimage.cpp b/linden/indra/llimage/llimage.cpp
index db983fb..b59c51b 100644
--- a/linden/indra/llimage/llimage.cpp
+++ b/linden/indra/llimage/llimage.cpp
@@ -55,10 +55,13 @@ std::string LLImage::sLastErrorMessage;
55LLMutex* LLImage::sMutex = NULL; 55LLMutex* LLImage::sMutex = NULL;
56 56
57//static 57//static
58void LLImage::initClass() 58void LLImage::initClass(const bool useDSO)
59{ 59{
60 sMutex = new LLMutex(NULL); 60 sMutex = new LLMutex(NULL);
61 LLImageJ2C::openDSO(); 61 if (useDSO)
62 {
63 LLImageJ2C::openDSO();
64 }
62} 65}
63 66
64//static 67//static