diff options
author | Nyx Linden <nyx@lindenlab.com> | 2013-05-02 13:56:10 -0400 |
---|---|---|
committer | Nyx Linden <nyx@lindenlab.com> | 2013-05-02 13:56:10 -0400 |
commit | af1431731802320e241037486b8bff0003a4d827 (patch) | |
tree | fb6c1fc2351872760c3b23f1b9257c9e50d64ab6 /indra/newview/llviewerwearable.h | |
parent | fcb4f8265dd7ca80ebf858e31b86ac523465e74d (diff) |
SH-4060 FIX avatar hover being set to minimum at seemingly random times
avatar hover was being temporarily set to -2.0 for the preview render, which
was triggering the minimum enforcement, even when the user's requested value
is no where near the minimum. Added a flag to disable the minimum enforcement
if we are temporarily changing the value.
Diffstat (limited to 'indra/newview/llviewerwearable.h')
-rw-r--r-- | indra/newview/llviewerwearable.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerwearable.h b/indra/newview/llviewerwearable.h index 65566f23a5..047b2ce143 100644 --- a/indra/newview/llviewerwearable.h +++ b/indra/newview/llviewerwearable.h @@ -68,6 +68,8 @@ public: void setParamsToDefaults(); void setTexturesToDefaults(); + void setVolitile(BOOL volitle) { mVolitle = volitle; } // TRUE when doing preview renders, some updates will be suppressed. + BOOL getVolitile() { return mVolitle; } /*virtual*/ LLUUID getDefaultTextureImageID(LLAvatarAppearanceDefines::ETextureIndex index) const; @@ -96,6 +98,8 @@ protected: LLAssetID mAssetID; LLTransactionID mTransactionID; + BOOL mVolitle; // True when rendering preview images. Can suppress some updates. + LLUUID mItemID; // ID of the inventory item in the agent's inventory }; |