diff --git a/indra/newview/fsareasearch.cpp b/indra/newview/fsareasearch.cpp index af45b32567..26feca1616 100644 --- a/indra/newview/fsareasearch.cpp +++ b/indra/newview/fsareasearch.cpp @@ -98,7 +98,7 @@ FSAreaSearch::FSAreaSearch(const LLSD& key) : mFilterLocked(false), mFilterPhantom(false), mFilterAttachment(false), - mFilterMOTP(false), + mFilterMoaP(false), mFilterDistance(false), mFilterDistanceMin(0), mFilterDistanceMax(999999), @@ -654,20 +654,20 @@ void FSAreaSearch::matchObject(FSObjectProperties& details, LLViewerObject* obje return; } - if (mFilterMOTP) + if (mFilterMoaP) { - bool motp = false; + bool moap = false; U8 texture_count = objectp->getNumTEs(); for(U8 i = 0; i < texture_count; i++) { if(objectp->getTE(i)->hasMedia()) { - motp = true; + moap = true; break; } } - if(!motp) + if(!moap) { return; } @@ -1557,8 +1557,8 @@ BOOL FSPanelAreaSearchFilter::postBuild() mSpinDistanceMaxValue= getChild("max_distance"); mSpinDistanceMaxValue->setCommitCallback(boost::bind(&FSPanelAreaSearchFilter::onCommitSpin, this)); - mCheckboxMOTP = getChild("filter_motp"); - mCheckboxMOTP->setCommitCallback(boost::bind(&FSPanelAreaSearchFilter::onCommitCheckbox, this)); + mCheckboxMoaP = getChild("filter_moap"); + mCheckboxMoaP->setCommitCallback(boost::bind(&FSPanelAreaSearchFilter::onCommitCheckbox, this)); return LLPanel::postBuild(); } @@ -1573,7 +1573,7 @@ void FSPanelAreaSearchFilter::onCommitCheckbox() mFSAreaSearch->setFilterPhantom(mCheckboxPhantom->get()); mFSAreaSearch->setFilterForSale(mCheckboxForSale->get()); mFSAreaSearch->setFilterDistance(mCheckboxDistance->get()); - mFSAreaSearch->setFilterMOTP(mCheckboxMOTP->get()); + mFSAreaSearch->setFilterMoaP(mCheckboxMoaP->get()); if (mCheckboxExcludePhysics->get()) { diff --git a/indra/newview/fsareasearch.h b/indra/newview/fsareasearch.h index f96b78975c..3aded814a4 100644 --- a/indra/newview/fsareasearch.h +++ b/indra/newview/fsareasearch.h @@ -123,7 +123,7 @@ public: void setFilterTemporary(bool b) { mFilterTemporary = b; } void setFilterPhantom(bool b) { mFilterPhantom = b; } void setFilterAttachment(bool b) { mFilterAttachment = b; } - void setFilterMOTP(bool b) { mFilterMOTP = b; } + void setFilterMoaP(bool b) { mFilterMoaP = b; } void setRegexSearch(bool b) { mRegexSearch = b; } void setBeacons(bool b) { mBeacons = b; } @@ -206,7 +206,7 @@ private: bool mFilterTemporary; bool mFilterPhantom; bool mFilterAttachment; - bool mFilterMOTP; + bool mFilterMoaP; bool mFilterForSale; S32 mFilterForSaleMin; @@ -332,7 +332,7 @@ private: LLCheckBoxCtrl* mCheckboxTemporary; LLCheckBoxCtrl* mCheckboxLocked; LLCheckBoxCtrl* mCheckboxPhantom; - LLCheckBoxCtrl* mCheckboxMOTP; + LLCheckBoxCtrl* mCheckboxMoaP; LLCheckBoxCtrl* mCheckboxDistance; LLSpinCtrl* mSpinDistanceMinValue; LLSpinCtrl* mSpinDistanceMaxValue; diff --git a/indra/newview/skins/default/xui/de/floater_fs_area_search.xml b/indra/newview/skins/default/xui/de/floater_fs_area_search.xml index 2b387de7bb..5e04675cf9 100644 --- a/indra/newview/skins/default/xui/de/floater_fs_area_search.xml +++ b/indra/newview/skins/default/xui/de/floater_fs_area_search.xml @@ -47,10 +47,11 @@ Nur Objekte mit folgenden Eigenschaften: - + + und diff --git a/indra/newview/skins/default/xui/en/floater_fs_area_search.xml b/indra/newview/skins/default/xui/en/floater_fs_area_search.xml index 6b3f6240dd..c4540a6f6c 100644 --- a/indra/newview/skins/default/xui/en/floater_fs_area_search.xml +++ b/indra/newview/skins/default/xui/en/floater_fs_area_search.xml @@ -300,42 +300,43 @@ left="10" name="filter_locked" label="Locked" - width="80"/> + width="100"/> + width="100"/> + width="100"/> + left="10" + width="100"/> + width="100"/> + width="100"/> Pokaż na liście tylko obiekty, które są: - + - + + oraz