Fixed alternate buildtool modes not being selectable (texture, scale, etc)

This commit is contained in:
Shyotl
2012-04-24 17:12:54 -05:00
parent 35bd8d90be
commit 75ef768e7f

View File

@@ -999,7 +999,7 @@ void commit_select_tool(LLUICtrl *ctrl, void *data)
S32 show_owners = gSavedSettings.getBOOL("ShowParcelOwners");
LLCheckBoxCtrl* group = (LLCheckBoxCtrl*)ctrl;
std::string selected = group->getValue().asString();
std::string selected = group->getName();
if (selected == "radio position")
{
LLFloaterTools::setEditTool( LLToolCompTranslate::getInstance() );