summaryrefslogtreecommitdiff
path: root/indra/newview/llmaterialmgr.h
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-12-12 21:47:24 +0100
committerKitty Barnett <develop@catznip.com>2012-12-12 21:47:24 +0100
commita18ea9d92923e331c0a3e179e126659e694b1c07 (patch)
treeac82c05ccab33639a24bd661e8edf602d7912bb4 /indra/newview/llmaterialmgr.h
parentef301c59832025240a20f9959008a33dc52233f9 (diff)
Clean up pending requests when regions are removed from LLWorld
Diffstat (limited to 'indra/newview/llmaterialmgr.h')
-rw-r--r--indra/newview/llmaterialmgr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llmaterialmgr.h b/indra/newview/llmaterialmgr.h
index 1066f3ef37..5a0064ae27 100644
--- a/indra/newview/llmaterialmgr.h
+++ b/indra/newview/llmaterialmgr.h
@@ -31,6 +31,8 @@
#include "llmaterialid.h"
#include "llsingleton.h"
+class LLViewerRegion;
+
class LLMaterialMgr : public LLSingleton<LLMaterialMgr>
{
friend LLSingleton<LLMaterialMgr>;
@@ -61,6 +63,7 @@ protected:
void onGetAllResponse(bool success, const LLSD& content, const LLUUID& region_id);
void processPutQueue();
void onPutResponse(bool success, const LLSD& content);
+ void onRegionRemoved(LLViewerRegion* regionp);
protected:
typedef std::set<LLMaterialID> material_queue_t;