From e2809755c5e4a6a6d3c8f27911865efe4020d679 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 22 Aug 2024 17:27:16 +0300 Subject: Make LLPipeline::renderDebug() a bit cheaper Each frame renderDebug() was pointlesly going over a large list of partitions and bridges. --- indra/newview/llvoavatarself.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/llvoavatarself.cpp') diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index 49859bb585..746ef7cacb 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -775,6 +775,7 @@ void LLVOAvatarSelf::updateVisualParams() void LLVOAvatarSelf::writeWearablesToAvatar() { + LL_PROFILE_ZONE_SCOPED_CATEGORY_AVATAR; for (U32 type = 0; type < LLWearableType::WT_COUNT; type++) { LLWearable *wearable = gAgentWearables.getTopWearable((LLWearableType::EType)type); -- cgit v1.2.3