diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2009-10-30 21:22:47 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2009-10-30 21:22:47 -0600 |
commit | 801301c435414df1e22c321a685044b7cd43055e (patch) | |
tree | a037964ae80d938cabd8ad1e656cab0946e7488f /indra/newview/llviewertexture.h | |
parent | 361a2277733a0afaf61f6c6150f1933d2e5aceb7 (diff) |
fix DEV-41913: parcel media does not display on particle textures.
Diffstat (limited to 'indra/newview/llviewertexture.h')
-rw-r--r-- | indra/newview/llviewertexture.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.h b/indra/newview/llviewertexture.h index ef298319d2..ce8c47b878 100644 --- a/indra/newview/llviewertexture.h +++ b/indra/newview/llviewertexture.h @@ -221,6 +221,9 @@ public: BOOL getDontDiscard() const { return mDontDiscard; } //----------------- + void setParcelMedia(BOOL has_media) {mHasParcelMedia = has_media;} + BOOL hasParcelMedia() const { return mHasParcelMedia ;} + /*virtual*/ void updateBindStatsForTester() ; protected: void cleanup() ; @@ -247,6 +250,8 @@ protected: LLPointer<LLImageGL> mGLTexturep ; S8 mDontDiscard; // Keep full res version of this image (for UI, etc) + BOOL mHasParcelMedia ; + protected: typedef enum { @@ -547,6 +552,7 @@ private: LLViewerMediaImpl* mMediaImplp ; BOOL mIsPlaying ; U32 mUpdateVirtualSizeTime ; + LLPointer< LLViewerTexture > mParcelTexture ; //the texture replaces this media texure when it is a parcel media texture. public: static void updateClass() ; |