diff --git a/indra/newview/fsfloatersearch.cpp b/indra/newview/fsfloatersearch.cpp index 4595e70436..3379508eee 100644 --- a/indra/newview/fsfloatersearch.cpp +++ b/indra/newview/fsfloatersearch.cpp @@ -344,12 +344,7 @@ void FSFloaterSearch::onTabChange() mDetailsPanel->setVisible(false); mPanelWeb->resetFocusOnLoad(); } - // If on legacy people search and skin uses full profile preview, hide preview panel - else if (active_panel == mPanelPeople && mPanelProfile) - { - mDetailsPanel->setVisible(false); - } - else + else if (active_panel == mPanelPeople) { mDetailsPanel->setVisible(mHasSelection); } @@ -392,19 +387,8 @@ void FSFloaterSearch::onSelectedItem(const LLUUID& selected_item, ESearchCategor switch (type) { case SC_AVATAR: - { - // If skin has legacy full profile view, use it - if (mPanelProfile) - { - mPanelProfile->setVisible(true); - mPanelProfile->onOpen(LLSD().with("id", selected_item)); - } - else - { - LLAvatarPropertiesProcessor::getInstance()->addObserver(selected_item, mAvatarPropertiesObserver); - LLAvatarPropertiesProcessor::getInstance()->sendAvatarPropertiesRequest(selected_item); - } - } + LLAvatarPropertiesProcessor::getInstance()->addObserver(selected_item, mAvatarPropertiesObserver); + LLAvatarPropertiesProcessor::getInstance()->sendAvatarPropertiesRequest(selected_item); break; case SC_GROUP: mGroupPropertiesRequest = new FSSearchGroupInfoObserver(selected_item, this); diff --git a/indra/newview/fsfloatersearch.h b/indra/newview/fsfloatersearch.h index 712707cd10..35158980d0 100644 --- a/indra/newview/fsfloatersearch.h +++ b/indra/newview/fsfloatersearch.h @@ -412,7 +412,6 @@ private: LLTextureCtrl* mDetailSnapshotParcel; LLIconCtrl* mDetailMaturity; LLTabContainer* mTabContainer; - LLPanelProfile* mPanelProfile; }; #endif // FS_FLOATERSEARCH_H