Skip to content
Snippets Groups Projects
Commit 53b61563 authored by Nyx (Neal Orman)'s avatar Nyx (Neal Orman)
Browse files

AVP-91 FIX avatars rebaking on every login

Whitespace change as my last checkin was reviewed and tested to pass.
Avatar baked texture hashing now works across logins and uses the correct
texture indices.

Code reviewed by Vir
parent 16134b2b
No related branches found
No related tags found
No related merge requests found
...@@ -3095,6 +3095,7 @@ void LLAgent::processAgentCachedTextureResponse(LLMessageSystem *mesgsys, void * ...@@ -3095,6 +3095,7 @@ void LLAgent::processAgentCachedTextureResponse(LLMessageSystem *mesgsys, void *
if (texture_entry) if (texture_entry)
{ {
EBakedTextureIndex baked_index = texture_entry->mBakedTextureIndex; EBakedTextureIndex baked_index = texture_entry->mBakedTextureIndex;
if (gAgentQueryManager.mActiveCacheQueries[baked_index] == query_id) if (gAgentQueryManager.mActiveCacheQueries[baked_index] == query_id)
{ {
if (texture_id.notNull()) if (texture_id.notNull())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment