SL-17823 FIXED Terrain texture does not show in minimap when relogging.
parent
1d68e07c24
commit
742ecbd4ec
|
|
@ -714,7 +714,7 @@ BOOL LLSurfacePatch::updateTexture()
|
|||
{
|
||||
mVObjp->dirtyGeom();
|
||||
gPipeline.markGLRebuild(mVObjp);
|
||||
return TRUE;
|
||||
return !mSTexUpdate;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -287,6 +287,12 @@ BOOL LLVLComposition::generateTexture(const F32 x, const F32 y,
|
|||
BOOL delete_raw = (mDetailTextures[i]->reloadRawImage(ddiscard) != NULL) ;
|
||||
if(mDetailTextures[i]->getRawImageLevel() != ddiscard)//raw iamge is not ready, will enter here again later.
|
||||
{
|
||||
if (mDetailTextures[i]->getDecodePriority() <= 0.0f && !mDetailTextures[i]->hasSavedRawImage())
|
||||
{
|
||||
mDetailTextures[i]->setBoostLevel(LLGLTexture::BOOST_MAP);
|
||||
mDetailTextures[i]->forceToRefetchTexture(ddiscard);
|
||||
}
|
||||
|
||||
if(delete_raw)
|
||||
{
|
||||
mDetailTextures[i]->destroyRawImage() ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue