diff options
author | callum <none@none> | 2012-04-12 11:55:37 -0700 |
---|---|---|
committer | callum <none@none> | 2012-04-12 11:55:37 -0700 |
commit | ac50379957b3f8bf03f0604dc3319c14e73ce657 (patch) | |
tree | f8117fd6f89e06f47251e8adace35e10b2c83781 /indra/newview/lltexturefetch.cpp | |
parent | 724863423142b55d536bd40c12d8a203a6de2468 (diff) |
SH-3065 FIX Investigate fixes for out-of-order operations on startup
Reviewed by Simon
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rwxr-xr-x | indra/newview/lltexturefetch.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index e27ebf9018..5cc8de3d91 100755 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -53,6 +53,7 @@ #include "llviewerassetstats.h" #include "llworld.h" #include "llsdutil.h" +#include "llstartup.h" LLStat LLTextureFetch::sCacheHitRate("texture_cache_hits", 128); LLStat LLTextureFetch::sCacheReadLatency("texture_cache_read_latency", 128); @@ -2238,7 +2239,13 @@ S32 LLTextureFetch::update(F32 max_time_ms) if (!mDebugPause) { - sendRequestListToSimulators(); + // this is the startup state when send_complete_agent_movement() message is sent. + // Before this, the RequestImages message sent by sendRequestListToSimulators + // won't work so don't bother trying + if (LLStartUp::getStartupState() > STATE_AGENT_SEND) + { + sendRequestListToSimulators(); + } } if (!mThreaded) |