summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexturelist.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2016-03-25 17:24:06 +0200
committerandreykproductengine <akleshchev@productengine.com>2016-03-25 17:24:06 +0200
commitd9545003ed3b4f28d10ccee6939831ff7d74b53f (patch)
treeee93cfdc044722568e39ac291d7fa6081916f990 /indra/newview/llviewertexturelist.cpp
parent107b6687184814e8fdf8946c897355655eb0ce84 (diff)
MAINT-6257 Particle textures loading issues.
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
-rwxr-xr-xindra/newview/llviewertexturelist.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp
index e580ecaba1..00338cb884 100755
--- a/indra/newview/llviewertexturelist.cpp
+++ b/indra/newview/llviewertexturelist.cpp
@@ -183,7 +183,11 @@ void LLViewerTextureList::doPreloadImages()
image->setAddressMode(LLTexUnit::TAM_WRAP);
mImagePreloads.insert(image);
}
-
+ image = LLViewerTextureManager::getFetchedTextureFromFile("cloud-particle.j2c", FTT_LOCAL_FILE, MIPMAP_YES, LLViewerFetchedTexture::BOOST_CLOUDS);
+ if (image)
+ {
+ mImagePreloads.insert(image);
+ }
}
static std::string get_texture_list_name()