Added local assets floater, start work on a way to re-request inventory skeleton and meat from the server

This commit is contained in:
Hazim Gazov
2010-06-20 04:24:53 +00:00
parent d8d0799837
commit bb8b4bda87
12 changed files with 698 additions and 4 deletions

View File

@@ -550,6 +550,18 @@ class LLLoadInvCacheFloater : public inventory_listener_t
return true;
}
};
class LLRefreshInvModel : public inventory_listener_t
{
bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata)
{
LLInventoryModel* model = mPtr->getPanel()->getModel();
if(!model) return false;
model->empty();
model->startBackgroundFetch();
return true;
}
};
// </edit>
class LLSetSortBy : public inventory_listener_t
{