diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2022-08-04 01:51:07 +0300 | 
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2022-08-04 01:51:07 +0300 | 
| commit | 51efcfea259ef425c42895e0b6b5d77c2371fdf3 (patch) | |
| tree | 9cb6d7d5bdf3fcea5641656cc44740c105834178 | |
| parent | 59ab8e78f42a9fcbd0da771c3ab2ed821e84c5e4 (diff) | |
DRTVWR-544 Post-merge build fix
| -rw-r--r-- | indra/newview/llpanelface.cpp | 26 | ||||
| -rw-r--r-- | indra/newview/llpanelface.h | 2 | 
2 files changed, 5 insertions, 23 deletions
| diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index de1a84e0f1..178aba11a3 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -334,17 +334,20 @@ LLPanelFace::LLPanelFace()      mEnableCallbackRegistrar.add("PanelFace.menuEnable", boost::bind(&LLPanelFace::menuEnableItem, this, _2));  } -  LLPanelFace::~LLPanelFace()  {      unloadMedia();  } -  void LLPanelFace::draw()  {      updateCopyTexButton(); +    // grab media name/title and update the UI widget +    // Todo: move it, it's preferable not to update +    // labels inside draw +    updateMediaTitle(); +      LLPanel::draw();  } @@ -1795,17 +1798,6 @@ void LLPanelFace::unloadMedia()          mTitleMedia->unloadMediaSource();  } -void LLPanelFace::draw() -{ -    // grab media name/title and update the UI widget -    // Todo: move it, it's preferable not to update -    // labels inside draw -    updateMediaTitle(); - -    //	mCheckSelectIndividual->set(gSavedSettings.getBOOL("EditLinkedParts")); -    LLPanel::draw(); -} -  //////////////////////////////////////////////////////////////////////////////  //  void LLPanelFace::navigateToTitleMedia( const std::string url ) @@ -4211,14 +4203,6 @@ bool LLPanelFace::menuEnableItem(const LLSD& userdata)  } -// TODO: I don't know who put these in or what these are for??? -void LLPanelFace::setMediaURL(const std::string& url) -{ -} -void LLPanelFace::setMediaType(const std::string& mime_type) -{ -} -  // static  void LLPanelFace::onCommitPlanarAlign(LLUICtrl* ctrl, void* userdata)  { diff --git a/indra/newview/llpanelface.h b/indra/newview/llpanelface.h index 688bdc7278..44bc442bbb 100644 --- a/indra/newview/llpanelface.h +++ b/indra/newview/llpanelface.h @@ -98,8 +98,6 @@ public:  	LLPanelFace();  	virtual ~LLPanelFace(); -    void draw(); -  	void			refresh();      void			refreshMedia();      void			unloadMedia(); | 
