summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-18 14:39:45 -0800
committerJames Cook <james@lindenlab.com>2009-12-18 14:39:45 -0800
commit298c829bb7d36e0acbc4844ee8b94e685c3d4c2b (patch)
tree1b0e7121e96bcd006148adc6f113c98e4909189d /indra/llui
parent69004fa27e9671554e432bbe4d777e3002aca457 (diff)
Fix 3D object tooltip backgrounds appearing gray
Image "none" wasn't being properly converted to a NULL pointer, so was drawing the default gray image. Reviewed with Richard
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/lluiimage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/lluiimage.cpp b/indra/llui/lluiimage.cpp
index 1dfc281d93..966d919dc7 100644
--- a/indra/llui/lluiimage.cpp
+++ b/indra/llui/lluiimage.cpp
@@ -168,6 +168,7 @@ namespace LLInitParam
if (name() == "none")
{
mData.mValue = NULL;
+ return;
}
LLUIImage* imagep = LLUI::getUIImage(name());