Appears to fix MAINT-4184
parent
2121ffcdab
commit
3d4acb535d
|
|
@ -1260,9 +1260,13 @@ bool LLTransferTarget::addDelayedPacket(
|
|||
size);
|
||||
|
||||
#ifdef _DEBUG
|
||||
if (mDelayedPacketMap.find(packet_id) != mDelayedPacketMap.end())
|
||||
transfer_packet_map::iterator iter = mDelayedPacketMap.find(packet_id);
|
||||
if (iter != mDelayedPacketMap.end())
|
||||
{
|
||||
LL_ERRS() << "Packet ALREADY in delayed packet map!" << LL_ENDL;
|
||||
if (!(iter->second->mSize == size) && !(iter->second->mDatap == datap))
|
||||
{
|
||||
LL_ERRS() << "Packet ALREADY in delayed packet map!" << LL_ENDL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -2648,7 +2648,8 @@ bool LLTextureFetch::createRequest(FTType f_type, const std::string& url, const
|
|||
worker->setImagePriority(priority);
|
||||
worker->setDesiredDiscard(desired_discard, desired_size);
|
||||
worker->setCanUseHTTP(can_use_http);
|
||||
worker->setUrl(url);
|
||||
|
||||
//worker->setUrl(url); //MAINT-4184 this line seems to be the cause and url is always blank.
|
||||
if (!worker->haveWork())
|
||||
{
|
||||
worker->setState(LLTextureFetchWorker::INIT);
|
||||
|
|
|
|||
Loading…
Reference in New Issue