summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorRichard Nelson <none@none>2010-06-23 18:32:31 -0700
committerRichard Nelson <none@none>2010-06-23 18:32:31 -0700
commit6dd35018d2f7aa84973b8e7ff743e8de6454f01c (patch)
tree98b3728dd05af46a1606fb3e6d8aadc294964942 /indra/newview/llvoavatar.cpp
parent0aabcc81346390fe312bf03355744a6e13ab0927 (diff)
EXT-7767 FIX Outfit editor doesn't appear to have a default camera view
added some comments and cleaned up code based on review
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index f2f91dcc4a..3dce4ce0bc 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -3201,6 +3201,9 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
visible = (LLDrawable::getCurrentFrame()+mID.mData[0])%mUpdatePeriod == 0 ? TRUE : FALSE;
}
+ // don't early out for your own avatar, as we rely on your animations playing reliably
+ // for example, the "turn around" animation when entering customize avatar needs to trigger
+ // even when your avatar is offscreen
if (!visible && !isSelf())
{
updateMotions(LLCharacter::HIDDEN_UPDATE);