diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index b03ea37112..85bbb0bb13 100755 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -247,6 +247,11 @@ BOOL LLFloaterTools::postBuild() mTitleMedia = getChild("title_media"); mBtnLink = getChild("link_btn"); mBtnUnlink = getChild("unlink_btn"); + + // FIRE-14493: Buttons to cycle through linkset + mBtnPrevPart = getChild("prev_part_btn"); + mBtnNextPart = getChild("next_part_btn"); + // mCheckSelectIndividual = getChild("checkbox edit linked parts"); getChild("checkbox edit linked parts")->setValue((BOOL)gSavedSettings.getBOOL("EditLinkedParts")); @@ -396,6 +401,11 @@ LLFloaterTools::LLFloaterTools(const LLSD& key) mBtnLink(NULL), mBtnUnlink(NULL), + // FIRE-14493: Buttons to cycle through linkset + mBtnPrevPart(NULL), + mBtnNextPart(NULL), + // + mBtnDelete(NULL), mBtnDuplicate(NULL), mBtnDuplicateInPlace(NULL), @@ -825,6 +835,11 @@ void LLFloaterTools::updatePopup(LLCoordGL center, MASK mask) mBtnLink->setEnabled(LLSelectMgr::instance().enableLinkObjects()); mBtnUnlink->setEnabled(LLSelectMgr::instance().enableUnlinkObjects()); + // FIRE-14493: Buttons to cycle through linkset + mBtnPrevPart->setVisible(edit_visible); + mBtnNextPart->setVisible(edit_visible); + // + if (mCheckSelectIndividual) { mCheckSelectIndividual->setVisible(edit_visible); diff --git a/indra/newview/llfloatertools.h b/indra/newview/llfloatertools.h index 7ee82ea612..03c9cd8d88 100755 --- a/indra/newview/llfloatertools.h +++ b/indra/newview/llfloatertools.h @@ -152,6 +152,11 @@ public: LLButton* mBtnLink; LLButton* mBtnUnlink; + // FIRE-14493: Buttons to cycle through linkset + LLButton* mBtnPrevPart; + LLButton* mBtnNextPart; + // + LLCheckBoxCtrl* mCheckSnapToGrid; LLButton* mBtnGridOptions; LLComboBox* mComboGridMode;