diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2020-03-05 14:13:39 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2020-03-05 14:13:39 +0200 |
commit | edb4373f7d2a32beb93a7f69ddcdf5e1bc0eb6a1 (patch) | |
tree | a6c84761b79f25ab1466e65d580b2598f9c7eb60 /indra/newview/llface.h | |
parent | d2120bb28192504a3de76c0af15c5a04adffa206 (diff) |
SL-9775 FIXED EEP viewer crash when looking at the sun (which is playing parcel media)
Diffstat (limited to 'indra/newview/llface.h')
-rw-r--r-- | indra/newview/llface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llface.h b/indra/newview/llface.h index 0c5af5b579..c74d4e3fa8 100644 --- a/indra/newview/llface.h +++ b/indra/newview/llface.h @@ -218,6 +218,9 @@ public: void setHasMedia(bool has_media) { mHasMedia = has_media ;} BOOL hasMedia() const ; + void setMediaAllowed(bool is_media_allowed) { mIsMediaAllowed = is_media_allowed; } + BOOL isMediaAllowed() const { return mIsMediaAllowed; } + BOOL switchTexture() ; //vertex buffer tracking @@ -293,6 +296,7 @@ private: F32 mImportanceToCamera ; F32 mBoundingSphereRadius ; bool mHasMedia ; + bool mIsMediaAllowed; protected: |