summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.h
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2012-09-27 22:01:40 +0000
committerDon Kjer <don@lindenlab.com>2012-09-27 22:01:40 +0000
commit793dde16f371408948474d31f9275ea4031b65aa (patch)
tree57d46ee9729c2b1888634ce080ce04d4cc2607f3 /indra/newview/llvoavatar.h
parent4f93192e7d00f1f03e0e5241e9f1d2f31623729c (diff)
parent352698140775e62498686f80b5aa21aee85524cf (diff)
Merge sunshine-internal -> sunshine-experimental
Diffstat (limited to 'indra/newview/llvoavatar.h')
-rwxr-xr-xindra/newview/llvoavatar.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.h b/indra/newview/llvoavatar.h
index 96e87279b2..10c081cf68 100755
--- a/indra/newview/llvoavatar.h
+++ b/indra/newview/llvoavatar.h
@@ -208,7 +208,6 @@ public:
public:
virtual bool isSelf() const { return false; } // True if this avatar is for this viewer's agent
- /*virtual*/BOOL isUsingBakedTextures() const { return mUseServerBakes; } // e.g. false if in appearance edit mode
private: //aligned members
LL_ALIGN_16(LLVector4a mImpostorExtents[2]);
@@ -636,7 +635,21 @@ public:
//--------------------------------------------------------------------
public:
BOOL getIsAppearanceAnimating() const { return mAppearanceAnimating; }
- BOOL isUsingLocalAppearance() const { return mUseLocalAppearance; }
+
+ // True if we are computing our appearance via local compositing
+ // instead of baked textures, as for example during wearable
+ // editing or when waiting for a subsequent server rebake.
+ /*virtual*/ BOOL isUsingLocalAppearance() const { return mUseLocalAppearance; }
+
+ // True if this avatar should fetch its baked textures via the new
+ // appearance mechanism.
+ /*virtual*/ BOOL isUsingServerBakes() const { return mUseServerBakes; }
+
+ // True if we are currently in appearance editing mode. Often but
+ // not always the same as isUsingLocalAppearance().
+ /*virtual*/ BOOL isEditingAppearance() const { return mIsEditingAppearance; }
+
+ // FIXME review isUsingLocalAppearance uses, some should be isEditing instead.
private:
BOOL mAppearanceAnimating;