diff --git a/indra/newview/llpanelcontents.cpp b/indra/newview/llpanelcontents.cpp index 74b7c386bb..b1468b7a94 100644 --- a/indra/newview/llpanelcontents.cpp +++ b/indra/newview/llpanelcontents.cpp @@ -177,6 +177,14 @@ void LLPanelContents::getState(LLViewerObject *objectp ) void LLPanelContents::onFilterEdit() { const std::string& filter_substring = mFilterEditor->getText(); + // FIRE-35010 Bugsplat crash with filter while loading contents + auto root_folder = mPanelInventoryObject->getRootFolder(); + if (!root_folder) + { + mPanelInventoryObject->getFilter().setFilterSubString(filter_substring); + return; + } + // if (filter_substring.empty()) { if (mPanelInventoryObject->getFilter().getFilterSubString().empty()) @@ -186,12 +194,12 @@ void LLPanelContents::onFilterEdit() } mSavedFolderState.setApply(true); - mPanelInventoryObject->getRootFolder()->applyFunctorRecursively(mSavedFolderState); + root_folder->applyFunctorRecursively(mSavedFolderState); // FIRE-35010 Bugsplat crash with filter while loading contents // Add a folder with the current item to the list of previously opened folders LLOpenFoldersWithSelection opener; - mPanelInventoryObject->getRootFolder()->applyFunctorRecursively(opener); - mPanelInventoryObject->getRootFolder()->scrollToShowSelection(); + root_folder->applyFunctorRecursively(opener); // FIRE-35010 Bugsplat crash with filter while loading contents + root_folder->scrollToShowSelection(); // FIRE-35010 Bugsplat crash with filter while loading contents } else if (mPanelInventoryObject->getFilter().getFilterSubString().empty()) { @@ -199,7 +207,7 @@ void LLPanelContents::onFilterEdit() if (!mPanelInventoryObject->getFilter().isNotDefault()) { mSavedFolderState.setApply(false); - mPanelInventoryObject->getRootFolder()->applyFunctorRecursively(mSavedFolderState); + root_folder->applyFunctorRecursively(mSavedFolderState); // FIRE-35010 Bugsplat crash with filter while loading contents } } diff --git a/indra/newview/lltoolcomp.cpp b/indra/newview/lltoolcomp.cpp index 05e931098f..e393a84b3c 100644 --- a/indra/newview/lltoolcomp.cpp +++ b/indra/newview/lltoolcomp.cpp @@ -344,7 +344,7 @@ bool LLToolCompTranslate::handleDoubleClick(S32 x, S32 y, MASK mask) { // You should already have an object selected from the mousedown. // If so, show its properties - LLFloaterReg::showInstance("build", "Content"); + LLFloaterReg::showInstance("build", "Contents"); return true; } // Nothing selected means the first mouse click was probably @@ -463,7 +463,7 @@ bool LLToolCompScale::handleDoubleClick(S32 x, S32 y, MASK mask) { // You should already have an object selected from the mousedown. // If so, show its properties - LLFloaterReg::showInstance("build", "Content"); + LLFloaterReg::showInstance("build", "Contents"); return true; } else @@ -674,7 +674,7 @@ bool LLToolCompRotate::handleDoubleClick(S32 x, S32 y, MASK mask) { // You should already have an object selected from the mousedown. // If so, show its properties - LLFloaterReg::showInstance("build", "Content"); + LLFloaterReg::showInstance("build", "Contents"); return true; } else diff --git a/indra/newview/lltooldraganddrop.cpp b/indra/newview/lltooldraganddrop.cpp index 4fca5185db..6629f70843 100644 --- a/indra/newview/lltooldraganddrop.cpp +++ b/indra/newview/lltooldraganddrop.cpp @@ -1887,7 +1887,7 @@ void LLToolDragAndDrop::dropInventory(LLViewerObject* hit_obj, if (LLFloaterReg::instanceVisible("build")) { // *FIX: only show this if panel not expanded? - LLFloaterReg::showInstance("build", "Content"); + LLFloaterReg::showInstance("build", "Contents"); } // VEFFECT: AddToInventory diff --git a/indra/newview/lltoolindividual.cpp b/indra/newview/lltoolindividual.cpp index 8962c55273..14a7b89473 100644 --- a/indra/newview/lltoolindividual.cpp +++ b/indra/newview/lltoolindividual.cpp @@ -88,7 +88,7 @@ bool LLToolIndividual::handleDoubleClick(S32 x, S32 y, MASK mask) { // You should already have an object selected from the mousedown. // If so, show its inventory. - LLFloaterReg::showInstance("build", "Content"); + LLFloaterReg::showInstance("build", "Contents"); return true; } else diff --git a/indra/newview/skins/default/xui/fr/panel_snapshot_inventory.xml b/indra/newview/skins/default/xui/fr/panel_snapshot_inventory.xml index 8e43c77227..6ad7f21ce9 100644 --- a/indra/newview/skins/default/xui/fr/panel_snapshot_inventory.xml +++ b/indra/newview/skins/default/xui/fr/panel_snapshot_inventory.xml @@ -1,18 +1,26 @@ - Inventaire + + Inventaire + - + + + - - L'enregistrement d'une image dans l'inventaire coûte [UPLOAD_COST] L$. Pour enregistrer votre image en tant que texture, sélectionnez un des formats listés. + + + Pour enregistrer votre image en tant que texture, sélectionnez l'un des formats carrés. + +Coût du téléversement : [UPLOAD_COST] L$ +