diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-12 23:19:02 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-06-12 23:53:10 +0300 |
commit | 7f6ad82a2a76ed1f96bf1ca61cacc51151fe74bf (patch) | |
tree | eedd7303cb0a0a7efaf0a1f2ebec6fdf4ccf8b2e /indra/newview/llpanelmaininventory.cpp | |
parent | 546c6a09d8ddcd8a327dd9dc76e122f6d98effb9 (diff) |
SL-19823 Additional logging
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r-- | indra/newview/llpanelmaininventory.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index 713ae21198..05816f5f37 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -199,7 +199,7 @@ BOOL LLPanelMainInventory::postBuild() } // Now load the stored settings from disk, if available. std::string filterSaveName(gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, FILTERS_FILENAME)); - LL_INFOS() << "LLPanelMainInventory::init: reading from " << filterSaveName << LL_ENDL; + LL_INFOS("Inventory") << "LLPanelMainInventory::init: reading from " << filterSaveName << LL_ENDL; llifstream file(filterSaveName.c_str()); LLSD savedFilterState; if (file.is_open()) @@ -510,8 +510,6 @@ void LLPanelMainInventory::doCreate(const LLSD& userdata) { if(isCombinationViewMode()) { - //show layout and inventory panel before adding the item - //to avoid wrong position of the 'renamer' mForceShowInvLayout = true; } @@ -524,6 +522,13 @@ void LLPanelMainInventory::doCreate(const LLSD& userdata) { // might need to refresh visibility, delay rename panel->mCombInvUUIDNeedsRename = new_id; + + if (panel->isCombinationViewMode()) + { + panel->mForceShowInvLayout = true; + } + + LL_DEBUGS("Inventory") << "Done creating inventory: " << new_id << LL_ENDL; } }; menu_create_inventory_item(NULL, getCurrentSFVRoot(), userdata, LLUUID::null, callback_created); @@ -541,6 +546,7 @@ void LLPanelMainInventory::doCreate(const LLSD& userdata) if (panel) { panel->setGallerySelection(new_id); + LL_DEBUGS("Inventory") << "Done creating inventory: " << new_id << LL_ENDL; } } }; |