summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwearable.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-05-30 15:29:27 -0700
committerMerov Linden <merov@lindenlab.com>2014-05-30 15:29:27 -0700
commitc780f730fed7ed90bf7228fd42e9ea46b8bce1cc (patch)
tree9a617520758cc01fcf0792a8bde24f3fee3e8612 /indra/newview/llviewerwearable.h
parent68b62747edb7073dd3f4975e2b38388ae80d801c (diff)
parent4885c122eaf1b4e304ce598f308d806322efacfc (diff)
DD-92 : pull merge lindenlab/sunshine-external to get AISv3 work
Diffstat (limited to 'indra/newview/llviewerwearable.h')
-rwxr-xr-x[-rw-r--r--]indra/newview/llviewerwearable.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/indra/newview/llviewerwearable.h b/indra/newview/llviewerwearable.h
index 8f49e3c4e2..62cd5e21ad 100644..100755
--- a/indra/newview/llviewerwearable.h
+++ b/indra/newview/llviewerwearable.h
@@ -62,13 +62,15 @@ public:
BOOL isOldVersion() const;
/*virtual*/ void writeToAvatar(LLAvatarAppearance *avatarp);
- void removeFromAvatar( BOOL upload_bake ) { LLViewerWearable::removeFromAvatar( mType, upload_bake ); }
- static void removeFromAvatar( LLWearableType::EType type, BOOL upload_bake );
+ void removeFromAvatar() { LLViewerWearable::removeFromAvatar( mType); }
+ static void removeFromAvatar( LLWearableType::EType type);
/*virtual*/ EImportResult importStream( std::istream& input_stream, LLAvatarAppearance* avatarp );
void setParamsToDefaults();
void setTexturesToDefaults();
+ void setVolatile(BOOL is_volatile) { mVolatile = is_volatile; } // TRUE when doing preview renders, some updates will be suppressed.
+ BOOL getVolatile() { return mVolatile; }
/*virtual*/ LLUUID getDefaultTextureImageID(LLAvatarAppearanceDefines::ETextureIndex index) const;
@@ -89,14 +91,14 @@ public:
// the wearable was worn. make sure the name of the wearable object matches the LLViewerInventoryItem,
// not the wearable asset itself.
void refreshName();
-
- // Update the baked texture hash.
- /*virtual*/void addToBakedTextureHash(LLMD5& hash) const;
+ /*virtual*/void addToBakedTextureHash(LLMD5& hash) const {}
protected:
LLAssetID mAssetID;
LLTransactionID mTransactionID;
+ BOOL mVolatile; // True when rendering preview images. Can suppress some updates.
+
LLUUID mItemID; // ID of the inventory item in the agent's inventory
};