diff options
author | Graham Linden <graham@lindenlab.com> | 2013-07-02 07:39:55 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-07-02 07:39:55 -0700 |
commit | 418c8a72c875b30d1e0746422afa3caaa809e37b (patch) | |
tree | e7d6af166c7ff9febf02edf34837027b0db970b6 /indra | |
parent | cdedd9356abd47b13f958f4c4a90d6c09c30d21e (diff) |
NORSPEC-296 make add_media button always available as long as the face is editable
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llfloatertools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 14923eec3c..7b25291da7 100755 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -1328,7 +1328,7 @@ void LLFloaterTools::getMediaState() getChildView("media_tex")->setEnabled(bool_has_media && editable); getChildView("edit_media")->setEnabled(bool_has_media && LLFloaterMediaSettings::getInstance()->mIdenticalHasMediaInfo && editable ); getChildView("delete_media")->setEnabled(bool_has_media && editable ); - getChildView("add_media")->setEnabled(( ! bool_has_media ) && editable ); + getChildView("add_media")->setEnabled(editable); // TODO: display a list of all media on the face - use 'identical' flag } else // not all face has media but at least one does. @@ -1358,7 +1358,7 @@ void LLFloaterTools::getMediaState() getChildView("media_tex")->setEnabled(TRUE); getChildView("edit_media")->setEnabled(LLFloaterMediaSettings::getInstance()->mIdenticalHasMediaInfo); getChildView("delete_media")->setEnabled(TRUE); - getChildView("add_media")->setEnabled(FALSE ); + getChildView("add_media")->setEnabled(editable); } media_info->setText(media_title); |