Inv fetch migrated from LLInventoryModel to LLInventoryModelBackgroundFetch singleton.
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include "llfoldervieweventlistener.h"
|
||||
#include "llinventory.h"
|
||||
#include "llinventoryfunctions.h"
|
||||
#include "llinventorymodelbackgroundfetch.h"
|
||||
#include "llinventoryview.h"
|
||||
#include "lllineeditor.h"
|
||||
#include "llui.h"
|
||||
@@ -1344,7 +1345,7 @@ public:
|
||||
{
|
||||
// We need to find textures in all folders, so get the main
|
||||
// background download going.
|
||||
gInventory.startBackgroundFetch();
|
||||
LLInventoryModelBackgroundFetch::instance().startBackgroundFetch();
|
||||
gInventory.removeObserver(this);
|
||||
delete this;
|
||||
}
|
||||
@@ -1368,9 +1369,9 @@ BOOL LLTextureCtrl::handleMouseDown(S32 x, S32 y, MASK mask)
|
||||
showPicker(FALSE);
|
||||
|
||||
//grab textures first...
|
||||
gInventory.startBackgroundFetch(gInventory.findCategoryUUIDForType(LLFolderType::FT_TEXTURE));
|
||||
LLInventoryModelBackgroundFetch::instance().startBackgroundFetch(gInventory.findCategoryUUIDForType(LLFolderType::FT_TEXTURE));
|
||||
//...then start full inventory fetch.
|
||||
gInventory.startBackgroundFetch();
|
||||
LLInventoryModelBackgroundFetch::instance().startBackgroundFetch();
|
||||
}
|
||||
return handled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user