DRTVWR-544 Post-merge build fix

meow-7.2.2
Andrey Lihatskiy 2022-08-04 01:51:07 +03:00
parent 59ab8e78f4
commit 51efcfea25
2 changed files with 5 additions and 23 deletions

View File

@ -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)
{

View File

@ -98,8 +98,6 @@ public:
LLPanelFace();
virtual ~LLPanelFace();
void draw();
void refresh();
void refreshMedia();
void unloadMedia();