Code consolidation. Redundant code moved into single function (checkMediaURL).
This commit is contained in:
@@ -1880,7 +1880,7 @@ void LLSelectMgr::selectionSetFullbright(U8 fullbright)
|
||||
void LLSelectMgr::selectionSetMediaTypeAndURL(U8 media_type, const std::string& media_url)
|
||||
{
|
||||
U8 media_flags = LLTextureEntry::MF_NONE;
|
||||
if (media_type == LLViewerObject::MEDIA_TYPE_WEB_PAGE)
|
||||
if (media_type == LLViewerObject::MEDIA_SET)
|
||||
{
|
||||
media_flags = LLTextureEntry::MF_HAS_MEDIA;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user