From 143e103bcf2b9be2b249ce96e7f84a52469174c7 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Wed, 14 Jun 2023 23:59:43 +0300 Subject: SL-19686 WIP Switching single folder view for large inventories causes stalls #2 --- indra/newview/llsidepanelinventory.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llsidepanelinventory.cpp') diff --git a/indra/newview/llsidepanelinventory.cpp b/indra/newview/llsidepanelinventory.cpp index 5f30ef3219..5eb853f44c 100644 --- a/indra/newview/llsidepanelinventory.cpp +++ b/indra/newview/llsidepanelinventory.cpp @@ -215,6 +215,9 @@ BOOL LLSidepanelInventory::postBuild() LLFloater *floater = dynamic_cast(getParent()); if (floater && floater->getKey().isUndefined() && !sLoginCompleted) { + // Prefill inventory for primary inventory floater + // Other floaters should fill on visibility change + // // see get_instance_num(); // Primary inventory floater will have undefined key initInventoryViews(); -- cgit v1.2.3