summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-10-20 22:20:06 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-10-20 22:20:06 +0300
commit5ee6853d07ed834e90c8c03b2f716ad9c1887484 (patch)
tree9a7a6e510cc0128acc2a97e7a938c8995b55e465
parentcef34f5861527c83a88d84d8d2e9485a2d42a27c (diff)
SL-12152 Minimizing chances of calling 'first use' twice.
-rw-r--r--indra/newview/llvoavatar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 09eacf66b1..ee350594c7 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -4812,7 +4812,7 @@ U32 LLVOAvatar::renderSkinned()
LLViewerJoint* hair_mesh = getViewerJoint(MESH_ID_HAIR);
if (hair_mesh)
{
- num_indices += hair_mesh->render(mAdjustedPixelArea, TRUE, mIsDummy);
+ num_indices += hair_mesh->render(mAdjustedPixelArea, first_pass, mIsDummy);
}
first_pass = FALSE;
}
@@ -4823,7 +4823,7 @@ U32 LLVOAvatar::renderSkinned()
LLViewerJoint* head_mesh = getViewerJoint(MESH_ID_HEAD);
if (head_mesh)
{
- num_indices += head_mesh->render(mAdjustedPixelArea, TRUE, mIsDummy);
+ num_indices += head_mesh->render(mAdjustedPixelArea, first_pass, mIsDummy);
}
first_pass = FALSE;
}