diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-06-11 17:18:20 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-06-11 17:18:20 -0700 |
commit | 96f7f6d01bb652fb049cd64b55b2933aa436f9d2 (patch) | |
tree | 0c25d25d7bb834c32acbcb5f9b58d9d0a97ba69c /indra/newview/llviewerobject.h | |
parent | 7fcbb7c177ba0c7fe3c0e97f95544481a279bf7f (diff) |
NORSPEC-258 and NORSPEC-226 make tex picker close refresh build tool UI correctly and fix issues with transition from no-bumps to normal maps
Diffstat (limited to 'indra/newview/llviewerobject.h')
-rwxr-xr-x | indra/newview/llviewerobject.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h index 932846c211..ea0d55cda5 100755 --- a/indra/newview/llviewerobject.h +++ b/indra/newview/llviewerobject.h @@ -324,6 +324,12 @@ public: /*virtual*/ S32 setTEGlow(const U8 te, const F32 glow); /*virtual*/ S32 setTEMaterialID(const U8 te, const LLMaterialID& pMaterialID); /*virtual*/ S32 setTEMaterialParams(const U8 te, const LLMaterialPtr pMaterialParams); + + // Used by Materials update functions to properly kick off rebuilds + // of VBs etc when materials updates require changes. + // + void refreshMaterials(); + /*virtual*/ BOOL setMaterial(const U8 material); virtual void setTEImage(const U8 te, LLViewerTexture *imagep); // Not derived from LLPrimitive virtual void changeTEImage(S32 index, LLViewerTexture* new_image) ; |