From 5ee6853d07ed834e90c8c03b2f716ad9c1887484 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Sun, 20 Oct 2019 22:20:06 +0300 Subject: SL-12152 Minimizing chances of calling 'first use' twice. --- indra/newview/llvoavatar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') 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; } -- cgit v1.2.3