EXT-8278: FIXED: endlessly loading some tree textures.
parent
fd0347a8a2
commit
4e499fe916
|
|
@ -313,7 +313,10 @@ U32 LLVOTree::processUpdateMessage(LLMessageSystem *mesgsys,
|
|||
//
|
||||
// Load Species-Specific data
|
||||
//
|
||||
static const S32 MAX_TREE_TEXTURE_VIRTURE_SIZE_RESET_INTERVAL = 32 ; //frames.
|
||||
mTreeImagep = LLViewerTextureManager::getFetchedTexture(sSpeciesTable[mSpecies]->mTextureID, TRUE, LLViewerTexture::BOOST_NONE, LLViewerTexture::LOD_TEXTURE);
|
||||
mTreeImagep->setMaxVirtualSizeResetInterval(MAX_TREE_TEXTURE_VIRTURE_SIZE_RESET_INTERVAL); //allow to wait for at most 16 frames to reset virtual size.
|
||||
|
||||
mBranchLength = sSpeciesTable[mSpecies]->mBranchLength;
|
||||
mTrunkLength = sSpeciesTable[mSpecies]->mTrunkLength;
|
||||
mLeafScale = sSpeciesTable[mSpecies]->mLeafScale;
|
||||
|
|
|
|||
Loading…
Reference in New Issue