From 298c829bb7d36e0acbc4844ee8b94e685c3d4c2b Mon Sep 17 00:00:00 2001 From: James Cook Date: Fri, 18 Dec 2009 14:39:45 -0800 Subject: 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 --- indra/llui/lluiimage.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/llui/lluiimage.cpp') 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()); -- cgit v1.2.3