Added explicit texture reloading. Accessable in the 'tools' submenus for the agent, avatars, and selected objects.
This commit is contained in:
@@ -392,9 +392,7 @@ void LLDrawPoolWater::renderOpaqueLegacyWater()
|
||||
if(sRefetch)
|
||||
{
|
||||
sRefetch = false;
|
||||
gTextureList.deleteImage(gTextureList.findImage( mOpaqueWaterImagep->getID() ));
|
||||
mOpaqueWaterImagep = NULL;
|
||||
mOpaqueWaterImagep = LLViewerTextureManager::getFetchedTexture(OPAQUE_WATER_TEXTURE);
|
||||
((LLViewerFetchedTexture*)mOpaqueWaterImagep.get())->forceRefetch();
|
||||
}
|
||||
else
|
||||
mOpaqueWaterImagep = mWaterImagep;
|
||||
|
||||
Reference in New Issue
Block a user