summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.h
diff options
context:
space:
mode:
authorAnchor Linden <anchor@lindenlab.com>2018-02-28 22:14:38 -0800
committerAnchor Linden <anchor@lindenlab.com>2018-02-28 22:14:38 -0800
commitbfbcd6d16931819c43eea8e83963c9f86c6892dd (patch)
tree618356592c438411504c3789f32608ee40e56c79 /indra/newview/llviewertexture.h
parentd4ce47b09122d1f76601ba402c2b9ad6bb504950 (diff)
[MAINT-8081] - bakes on mesh. 1st pass. changed texture panel to select bakes on objects. handle magic bake ids in LLViewerObject.
Diffstat (limited to 'indra/newview/llviewertexture.h')
-rw-r--r--indra/newview/llviewertexture.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewertexture.h b/indra/newview/llviewertexture.h
index c9dea17f63..2bd2f83e93 100644
--- a/indra/newview/llviewertexture.h
+++ b/indra/newview/llviewertexture.h
@@ -417,6 +417,9 @@ public:
void setInFastCacheList(bool in_list) { mInFastCacheList = in_list; }
bool isInFastCacheList() { return mInFastCacheList; }
+ U8 getBakedTextureIndex() { return mBakedTextureIndex; }
+ void setBakedTextureIndex(U8 index) { mBakedTextureIndex = index; }
+
/*virtual*/bool isActiveFetching(); //is actively in fetching by the fetching pipeline.
protected:
@@ -519,6 +522,8 @@ protected:
BOOL mForSculpt ; //a flag if the texture is used as sculpt data.
BOOL mIsFetched ; //is loaded from remote or from cache, not generated locally.
+ U8 mBakedTextureIndex; //for FTT_SERVER_BAKE fetched textures
+
public:
static LLPointer<LLViewerFetchedTexture> sMissingAssetImagep; // Texture to show for an image asset that is not in the database
static LLPointer<LLViewerFetchedTexture> sWhiteImagep; // Texture to show NOTHING (whiteness)