summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorDessie Linden <dessie@lindenlab.com>2010-07-13 05:27:27 -0700
committerDessie Linden <dessie@lindenlab.com>2010-07-13 05:27:27 -0700
commitc3099df719274556fede1a57bc42e555e5c89fbb (patch)
treec9b0379d1936736de93ae3dc2489e54dce96e604 /indra/newview/pipeline.cpp
parent4ac2dbb82eeaa5ead25c0821abe443d86e0333f5 (diff)
parentc8602b293517dfb4d5c6658ab235af9fe9932b7e (diff)
Merged from viewer-release
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 1c76944c1b..1dc46a4012 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -7207,7 +7207,7 @@ void LLPipeline::generateWaterReflection(LLCamera& camera_in)
if (LLPipeline::sWaterReflections && assertInitialized() && LLDrawPoolWater::sNeedsReflectionUpdate)
{
BOOL skip_avatar_update = FALSE;
- if (gAgentCamera.getCameraAnimating() || gAgentCamera.getCameraMode() != CAMERA_MODE_MOUSELOOK)
+ if (!isAgentAvatarValid() || gAgentCamera.getCameraAnimating() || gAgentCamera.getCameraMode() != CAMERA_MODE_MOUSELOOK)
{
skip_avatar_update = TRUE;
}