summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-05-14 01:11:08 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-05-14 01:11:08 +0300
commit28ae135375c42d6cfd89fc8d68cd80f4685b93eb (patch)
tree5d7196c2a5e91ae364838a4db08e1e222dcd1736 /indra/newview/llvoavatar.cpp
parent58ceaacafd67d69deeeac8905ed46c2920eb2c4d (diff)
SL-16746 Hide hair and fix missing light for animation preview
Diffstat (limited to 'indra/newview/llvoavatar.cpp')
-rw-r--r--indra/newview/llvoavatar.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 249fae5441..c5c1c3b57a 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -7145,6 +7145,14 @@ LLViewerJoint* LLVOAvatar::getViewerJoint(S32 idx)
}
//-----------------------------------------------------------------------------
+// hideHair()
+//-----------------------------------------------------------------------------
+void LLVOAvatar::hideHair()
+{
+ mMeshLOD[MESH_ID_HAIR]->setVisible(FALSE, TRUE);
+}
+
+//-----------------------------------------------------------------------------
// hideSkirt()
//-----------------------------------------------------------------------------
void LLVOAvatar::hideSkirt()