aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerimagelist.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:29 -0500
committerJacek Antonelli2008-08-15 23:45:29 -0500
commit7bdb4845afdd157f95281293803567090e3f992a (patch)
treefbcada1c227d7407f9f37ccba360bfe6326d9c5e /linden/indra/newview/llviewerimagelist.cpp
parentSecond Life viewer sources 1.19.0.0 (diff)
downloadmeta-impy-7bdb4845afdd157f95281293803567090e3f992a.zip
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.gz
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.bz2
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.xz
Second Life viewer sources 1.19.0.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewerimagelist.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerimagelist.cpp b/linden/indra/newview/llviewerimagelist.cpp
index 9c74b4a..68edca8 100644
--- a/linden/indra/newview/llviewerimagelist.cpp
+++ b/linden/indra/newview/llviewerimagelist.cpp
@@ -129,7 +129,8 @@ void LLViewerImageList::doPreloadImages()
129 129
130 // Speeds up startup by 4-5 seconds. JC 130 // Speeds up startup by 4-5 seconds. JC
131 if (!gPreloadImages) return; 131 if (!gPreloadImages) return;
132 132
133 LLViewerImage* image;
133 // Images listed here are immediately decoded, before the login screen. 134 // Images listed here are immediately decoded, before the login screen.
134 // Since this slows down perceived viewer startup time, only include 135 // Since this slows down perceived viewer startup time, only include
135 // images here for buttons/checkboxes/etc. that are immediately visible. 136 // images here for buttons/checkboxes/etc. that are immediately visible.
@@ -289,7 +290,8 @@ void LLViewerImageList::doPreloadImages()
289 preloadUIImage("object_tube_active.tga", LLUUID::null, FALSE); 290 preloadUIImage("object_tube_active.tga", LLUUID::null, FALSE);
290 preloadUIImage("pixiesmall.tga", LLUUID::null, TRUE); 291 preloadUIImage("pixiesmall.tga", LLUUID::null, TRUE);
291 preloadUIImage("script_error.tga", LLUUID::null, TRUE); 292 preloadUIImage("script_error.tga", LLUUID::null, TRUE);
292 preloadUIImage("silhouette.tga", LLUUID::null, TRUE); 293 image = preloadUIImage("silhouette.tga", LLUUID::null, TRUE);
294 if (image) image->setClamp(FALSE, FALSE);
293 preloadUIImage("status_no_build.tga", LLUUID::null, FALSE); 295 preloadUIImage("status_no_build.tga", LLUUID::null, FALSE);
294 preloadUIImage("status_buy_currency.tga", LLUUID::null, FALSE); 296 preloadUIImage("status_buy_currency.tga", LLUUID::null, FALSE);
295 preloadUIImage("status_buy_currency_pressed.tga", LLUUID::null, FALSE); 297 preloadUIImage("status_buy_currency_pressed.tga", LLUUID::null, FALSE);