summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterdebugmaterials.h
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-12-03 15:20:11 +0100
committerKitty Barnett <develop@catznip.com>2012-12-03 15:20:11 +0100
commit25bffc3d43ec7696c0a9fab43514affbfe006fb9 (patch)
treefebaccaaaf6bf2ef1f0b90b300e024d3891966bb /indra/newview/llfloaterdebugmaterials.h
parent1e26dbdcd27a1f29fe249cc7e074e5ede284bac8 (diff)
Added LLMaterialMgr::get() to retrieve individual materials (with optional callback)
Diffstat (limited to 'indra/newview/llfloaterdebugmaterials.h')
-rw-r--r--indra/newview/llfloaterdebugmaterials.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llfloaterdebugmaterials.h b/indra/newview/llfloaterdebugmaterials.h
index 920bc4ae6d..a40e1d1b5c 100644
--- a/indra/newview/llfloaterdebugmaterials.h
+++ b/indra/newview/llfloaterdebugmaterials.h
@@ -33,6 +33,7 @@
#include <boost/signals2.hpp>
#include "llfloater.h"
+#include "llmaterial.h"
#include "lluuid.h"
#include "v4color.h"
@@ -40,7 +41,6 @@ class LLButton;
class LLColorSwatchCtrl;
class LLColor4U;
class LLLineEditor;
-class LLMaterial;
class LLMaterialID;
class LLScrollListCtrl;
class LLSD;
@@ -96,7 +96,6 @@ private:
void onDeferredRequestGetMaterials(LLUUID regionId);
void onDeferredRequestPutMaterials(LLUUID regionId, bool pIsDoSet);
void onGetResponse(bool pRequestStatus, const LLSD& pContent);
- void onPostResponse(bool pRequestStatus, const LLSD& pContent);
void checkRegionMaterialStatus();
void checkRegionMaterialStatus(const LLUUID& regionId);
@@ -107,11 +106,10 @@ private:
void requestPutMaterials(bool pIsDoSet);
void requestPutMaterials(const LLUUID& regionId, bool pIsDoSet);
- void requestPostMaterials();
+ static void onGetMaterial(const LLMaterialID& material_id, const LLMaterialPtr materialp);
void parseGetResponse();
void parseQueryViewableObjects();
- void parsePostResponse(const LLSD& pMultiContent);
void setState(EState pState);
inline EState getState() const;
@@ -185,7 +183,6 @@ private:
S32 mNextUnparsedGetDataIndex;
S32 mNextUnparsedQueryDataIndex;
- MultiMaterialsResponderPtr mMultiMaterialsResponder;
};