diff options
| author | Dave Parks <davep@lindenlab.com> | 2010-01-12 12:02:40 -0600 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2010-01-12 12:02:40 -0600 |
| commit | 86f1baf8362b58c3d54b52b99eda0bf9059fca01 (patch) | |
| tree | 1f6658cb6f46e65a7f49266fed7bc30458786f8c /indra/newview/llfloatertools.cpp | |
| parent | 41daf99e1902adbf3f9a737559ab08f62c049992 (diff) | |
| parent | a148eb89793513b211e949a0cff517a37f4c2773 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llfloatertools.cpp')
| -rw-r--r-- | indra/newview/llfloatertools.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 9cae6f0ebd..1287e14961 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -1269,18 +1269,15 @@ void LLFloaterTools::getMediaState() // called when a user wants to add media to a prim or prim face void LLFloaterTools::onClickBtnAddMedia() { - // check for the edit tool and now many faces are selected - LLTool *tool = LLToolMgr::getInstance()->getCurrentTool(); - if((tool != LLToolFace::getInstance()) || LLSelectMgr::getInstance()->getSelection()->isMultipleTESelected()) + // check if multiple faces are selected + if(LLSelectMgr::getInstance()->getSelection()->isMultipleTESelected()) { - LLNotificationsUtil::add("MultipleFacesSelected",LLSD(), LLSD(), multipleFacesSelectedConfirm); - + LLNotificationsUtil::add("MultipleFacesSelected", LLSD(), LLSD(), multipleFacesSelectedConfirm); } else { onClickBtnEditMedia(); } - } // static |
