Skip to content

Commit

Permalink
Merge branch 'release/maint-b' into feature/linux_build
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicky-D committed Apr 3, 2024
2 parents 4f09adc + 5d28e1b commit 093a4c8
Show file tree
Hide file tree
Showing 18 changed files with 133 additions and 38 deletions.
59 changes: 53 additions & 6 deletions indra/newview/character/avatar_lad.xml

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions indra/newview/llfloatercreatelandmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "llagent.h"
#include "llagentui.h"
#include "llcombobox.h"
#include "llfloaterreg.h"
#include "llinventoryfunctions.h"
#include "llinventoryobserver.h"
#include "lllandmarkactions.h"
Expand Down Expand Up @@ -286,8 +287,7 @@ void LLFloaterCreateLandmark::onCreateFolderClicked()
std::string folder_name = resp["message"].asString();
if (!folder_name.empty())
{
inventory_func_type func = boost::bind(&LLFloaterCreateLandmark::folderCreatedCallback, this, _1);
gInventory.createNewCategory(mLandmarksID, LLFolderType::FT_NONE, folder_name, func);
gInventory.createNewCategory(mLandmarksID, LLFolderType::FT_NONE, folder_name, folderCreatedCallback);
gInventory.notifyObservers();
}
}
Expand All @@ -296,7 +296,11 @@ void LLFloaterCreateLandmark::onCreateFolderClicked()

void LLFloaterCreateLandmark::folderCreatedCallback(LLUUID folder_id)
{
populateFoldersList(folder_id);
LLFloaterCreateLandmark* floater = LLFloaterReg::findTypedInstance<LLFloaterCreateLandmark>("add_landmark");
if (floater && !floater->isDead())
{
floater->populateFoldersList(folder_id);
}
}

void LLFloaterCreateLandmark::onSaveClicked()
Expand Down
2 changes: 1 addition & 1 deletion indra/newview/llfloatercreatelandmark.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class LLFloaterCreateLandmark:
void onSaveClicked();
void onCancelClicked();

void folderCreatedCallback(LLUUID folder_id);
static void folderCreatedCallback(LLUUID folder_id);

LLComboBox* mFolderCombo;
LLLineEditor* mLandmarkTitleEditor;
Expand Down
20 changes: 17 additions & 3 deletions indra/newview/llinventorybridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5118,19 +5118,33 @@ void LLFolderBridge::dropToMyOutfits(LLInventoryCategory* inv_cat, LLPointer<LLI

// Note: creation will take time, so passing folder id to callback is slightly unreliable,
// but so is collecting and passing descendants' ids
inventory_func_type func = boost::bind(&LLFolderBridge::outfitFolderCreatedCallback, this, inv_cat->getUUID(), _1, cb);
inventory_func_type func = boost::bind(outfitFolderCreatedCallback, inv_cat->getUUID(), _1, cb, mInventoryPanel);
gInventory.createNewCategory(dest_id,
LLFolderType::FT_OUTFIT,
inv_cat->getName(),
func,
inv_cat->getThumbnailUUID());
}

void LLFolderBridge::outfitFolderCreatedCallback(LLUUID cat_source_id, LLUUID cat_dest_id, LLPointer<LLInventoryCallback> cb)
void LLFolderBridge::outfitFolderCreatedCallback(LLUUID cat_source_id,
LLUUID cat_dest_id,
LLPointer<LLInventoryCallback> cb,
LLHandle<LLInventoryPanel> inventory_panel)
{
LLInventoryModel::cat_array_t* categories;
LLInventoryModel::item_array_t* items;
getInventoryModel()->getDirectDescendentsOf(cat_source_id, categories, items);

LLInventoryPanel* panel = inventory_panel.get();
if (!panel)
{
return;
}
LLInventoryModel* model = panel->getModel();
if (!model)
{
return;
}
model->getDirectDescendentsOf(cat_source_id, categories, items);

LLInventoryObject::const_object_list_t link_array;

Expand Down
5 changes: 4 additions & 1 deletion indra/newview/llinventorybridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,10 @@ class LLFolderBridge : public LLInvFVBridge
static void staticFolderOptionsMenu();

protected:
void outfitFolderCreatedCallback(LLUUID cat_source_id, LLUUID cat_dest_id, LLPointer<LLInventoryCallback> cb);
static void outfitFolderCreatedCallback(LLUUID cat_source_id,
LLUUID cat_dest_id,
LLPointer<LLInventoryCallback> cb,
LLHandle<LLInventoryPanel> inventory_panel);
void callback_pasteFromClipboard(const LLSD& notification, const LLSD& response);
void perform_pasteFromClipboard();
void gatherMessage(std::string& message, S32 depth, LLError::ELevel log_level);
Expand Down
3 changes: 0 additions & 3 deletions indra/newview/skins/default/xui/da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2688,9 +2688,6 @@ Hvis du bliver ved med at modtage denne besked, kontakt venligst [SUPPORT_SITE].
<string name="Full Sides">
Meget hår
</string>
<string name="Gender">
Køn
</string>
<string name="Glossy">
Skinnende
</string>
Expand Down
1 change: 0 additions & 1 deletion indra/newview/skins/default/xui/de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,6 @@ Falls diese Meldung weiterhin angezeigt wird, wenden Sie sich bitte an [SUPPORT_
<string name="Full Front">Vorne volles Haar</string>
<string name="Full Hair Sides">Seitlich volles Haar</string>
<string name="Full Sides">Volle Seiten</string>
<string name="Gender">Geschlecht</string>
<string name="Glossy">Glänzend</string>
<string name="Glove Fingers">Handschuhfinger</string>
<string name="Glove Length">Handschuhlänge</string>
Expand Down
51 changes: 51 additions & 0 deletions indra/newview/skins/default/xui/en/panel_edit_wearable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,57 @@
top="10"
value="Shape:"
width="150" />
<radio_group
control_name="AvatarSex"
follows="top|right"
height="20"
layout="topleft"
left="210"
name="sex_radio"
top="5"
width="110">
<radio_item
follows="all"
height="16"
label=""
layout="topleft"
left="0"
name="sex_male"
tool_tip="Male"
value="1"
width="40" />
<radio_item
follows="all"
height="16"
label=""
layout="topleft"
left_pad="10"
name="sex_female"
tool_tip="Female"
value="0"
width="40"/>
</radio_group>
<!-- graphical labels for the radio buttons above -->
<icon
follows="top|right"
height="16"
image_name="icons/Male.png"
layout="topleft"
left="230"
name="male_icon"
tool_tip="Male"
top="7"
width="16" />
<icon
follows="top|right"
height="16"
image_name="icons/Female.png"
layout="topleft"
left="280"
name="female_icon"
tool_tip="Female"
top="7"
width="16" />
<line_editor
follows="all"
height="23"
Expand Down
1 change: 0 additions & 1 deletion indra/newview/skins/default/xui/en/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3242,7 +3242,6 @@ Please reinstall viewer from https://secondlife.com/support/downloads/ and cont
<string name="Full Front">Full Front</string>
<string name="Full Hair Sides">Full Hair Sides</string>
<string name="Full Sides">Full Sides</string>
<string name="Gender">Gender</string>
<string name="Glossy">Glossy</string>
<string name="Glove Fingers">Glove Fingers</string>

Expand Down
1 change: 0 additions & 1 deletion indra/newview/skins/default/xui/es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,6 @@ Si sigues recibiendo este mensaje, contacta con [SUPPORT_SITE].</string>
<string name="Full Front">Sin cortar</string>
<string name="Full Hair Sides">Pelo: volumen a los lados</string>
<string name="Full Sides">Volumen total</string>
<string name="Gender">Sexo</string>
<string name="Glossy">Con brillo</string>
<string name="Glove Fingers">Guantes: dedos</string>
<string name="Glove Length">Guantes: largo</string>
Expand Down
1 change: 0 additions & 1 deletion indra/newview/skins/default/xui/fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,6 @@ Si ce message persiste, veuillez aller sur la page [SUPPORT_SITE].</string>
<string name="Full Front">Devant touffu</string>
<string name="Full Hair Sides">Côtés touffus</string>
<string name="Full Sides">Côtés touffus</string>
<string name="Gender">Sexe</string>
<string name="Glossy">Brillant</string>
<string name="Glove Fingers">Gants avec doigts</string>
<string name="Glove Length">Longueur</string>
Expand Down
1 change: 0 additions & 1 deletion indra/newview/skins/default/xui/it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,6 @@ Se il messaggio persiste, contatta [SUPPORT_SITE].</string>
<string name="Full Front">Anteriore gonfio</string>
<string name="Full Hair Sides">Lati capelli gonfi</string>
<string name="Full Sides">Lati gonfi</string>
<string name="Gender">Sesso</string>
<string name="Glossy">Lucido</string>
<string name="Glove Fingers">Dita con guanti</string>
<string name="Glove Length">Lunghezza guanti</string>
Expand Down
3 changes: 0 additions & 3 deletions indra/newview/skins/default/xui/ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5052,9 +5052,6 @@ www.secondlife.com から最新バージョンをダウンロードしてくだ
<string name="Full Sides">
生え揃ったサイド
</string>
<string name="Gender">
性別
</string>
<string name="Glossy">
あり
</string>
Expand Down
3 changes: 0 additions & 3 deletions indra/newview/skins/default/xui/pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3318,9 +3318,6 @@ Jeżeli nadal otrzymujesz ten komunikat, skontaktuj się z [SUPPORT_SITE].
<string name="Full Sides">
Gęste boki
</string>
<string name="Gender">
Płeć
</string>
<string name="Glossy">
Błyszcząca
</string>
Expand Down
1 change: 0 additions & 1 deletion indra/newview/skins/default/xui/pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,6 @@ If you continue to receive this message, contact the [SUPPORT_SITE].</string>
<string name="Full Front">Frente cheia</string>
<string name="Full Hair Sides">Cabelos laterais cheios</string>
<string name="Full Sides">Lados cheios</string>
<string name="Gender">Sexo</string>
<string name="Glossy">Brilhante</string>
<string name="Glove Fingers">Dedos da luva</string>
<string name="Glove Length">Comprimento das luvas</string>
Expand Down
3 changes: 0 additions & 3 deletions indra/newview/skins/default/xui/ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3479,9 +3479,6 @@ support@secondlife.com.
<string name="Full Sides">
По бокам
</string>
<string name="Gender">
Пол
</string>
<string name="Glossy">
Блестящие
</string>
Expand Down
3 changes: 0 additions & 3 deletions indra/newview/skins/default/xui/tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3482,9 +3482,6 @@ Bu iletiyi almaya devam ederseniz, lütfen [SUPPORT_SITE] bölümüne başvurun.
<string name="Full Sides">
Saçlar Yanda
</string>
<string name="Gender">
Cinsiyet
</string>
<string name="Glossy">
Parlak
</string>
Expand Down
3 changes: 0 additions & 3 deletions indra/newview/skins/default/xui/zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3475,9 +3475,6 @@ http://secondlife.com/support 求助解決問題。
<string name="Full Sides">
兩側飽滿
</string>
<string name="Gender">
性别
</string>
<string name="Glossy">
光亮
</string>
Expand Down

0 comments on commit 093a4c8

Please sign in to comment.