Update texturelist/volumetexture management with changes from upstream. Note: TEX_LIST_SCALE not utilized in singu... yet.
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#include "llviewerinventory.h"
|
||||
#include "llinventorymodel.h"
|
||||
#include "llinventoryfunctions.h"
|
||||
#include "llviewertexturelist.h"
|
||||
|
||||
// menu includes
|
||||
#include "llevent.h"
|
||||
@@ -493,7 +494,7 @@ public:
|
||||
}
|
||||
|
||||
LLUUID id = me->mTexturesToSave.begin()->first;
|
||||
LLViewerTexture* imagep = LLViewerTextureManager::findTexture(id);
|
||||
LLViewerTexture* imagep = LLViewerTextureManager::findFetchedTexture(id, TEX_LIST_STANDARD);
|
||||
if (!imagep)
|
||||
{
|
||||
me->mTexturesToSave.erase(id);
|
||||
|
||||
Reference in New Issue
Block a user