diff options
author | Kitty Barnett <develop@catznip.com> | 2012-12-12 21:47:24 +0100 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2012-12-12 21:47:24 +0100 |
commit | a18ea9d92923e331c0a3e179e126659e694b1c07 (patch) | |
tree | ac82c05ccab33639a24bd661e8edf602d7912bb4 /indra/newview/llmaterialmgr.h | |
parent | ef301c59832025240a20f9959008a33dc52233f9 (diff) |
Clean up pending requests when regions are removed from LLWorld
Diffstat (limited to 'indra/newview/llmaterialmgr.h')
-rw-r--r-- | indra/newview/llmaterialmgr.h | 3 |
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; |