From 75ef768e7f33b34b32e1abe94b70bf560f1da76d Mon Sep 17 00:00:00 2001 From: Shyotl Date: Tue, 24 Apr 2012 17:12:54 -0500 Subject: [PATCH] Fixed alternate buildtool modes not being selectable (texture, scale, etc) --- indra/newview/llfloatertools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 2f48e7ff7..07fae3df2 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -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() );