diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-03-07 16:44:21 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-03-07 16:44:21 +0800 |
commit | 266e96605781960799dc5388cc1ac168432ff106 (patch) | |
tree | 5f46ae7d39a8a954ea9f79dc7216cad6aca2ee6a /indra/newview/llinventorypanel.cpp | |
parent | 530ff898b00d1759ab4abb32dcf9767960ce7170 (diff) | |
parent | bf949ce004c25917aabddd1cd24be812713e4602 (diff) |
Merge branch '2024.12-ForeverFPS'
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index bf12e6a7e0..1795de727d 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -580,7 +580,7 @@ void LLInventoryPanel::itemChanged(const LLUUID& item_id, U32 mask, const LLInve { if (model_item && view_item && viewmodel_item) { - const LLUUID& idp = viewmodel_item->getUUID(); + const LLUUID idp = viewmodel_item->getUUID(); removeItemID(idp); view_item->destroyView(); } @@ -1335,6 +1335,8 @@ void LLInventoryPanel::openStartFolderOrMyInventory() LLFolderViewFolder *fchild = dynamic_cast<LLFolderViewFolder*>(child); if (fchild && fchild->getViewModelItem() + // Is this right? Name might be localized, + // use FT_ROOT_INVENTORY or gInventory.getRootFolderID()? && fchild->getViewModelItem()->getName() == "My Inventory") { fchild->setOpen(true); |