diff options
author | James Cook <james@lindenlab.com> | 2009-12-18 14:39:45 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-12-18 14:39:45 -0800 |
commit | 298c829bb7d36e0acbc4844ee8b94e685c3d4c2b (patch) | |
tree | 1b0e7121e96bcd006148adc6f113c98e4909189d /indra/llui | |
parent | 69004fa27e9671554e432bbe4d777e3002aca457 (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.cpp | 1 |
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()); |