Speed up object param lookups.

This commit is contained in:
Shyotl
2019-08-07 21:27:53 -05:00
parent 21b1d5b52e
commit d2b28f60ff
12 changed files with 171 additions and 166 deletions

View File

@@ -601,6 +601,7 @@ LLViewerFetchedTexture* LLViewerTextureList::createImage(const LLUUID &image_id,
LLViewerFetchedTexture *LLViewerTextureList::findImage(const LLUUID &image_id)
{
// Singu note: Reworked hotspot
auto& iter = mUUIDDict.find(image_id);
if(iter == mUUIDDict.end())
return NULL;