summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertools.cpp
diff options
context:
space:
mode:
authorKelly Washington <kelly@lindenlab.com>2007-06-21 22:40:22 +0000
committerKelly Washington <kelly@lindenlab.com>2007-06-21 22:40:22 +0000
commite03bb0606a10f29c8b94909a713a5bb5c69e88b7 (patch)
tree6d8d07894579438c8cc70e08f5730c3c95dfe768 /indra/newview/llfloatertools.cpp
parent2638f12f95eea692502836cf6548b4a0b234d009 (diff)
merge -r62831:64079 branches/maintenance to release
Diffstat (limited to 'indra/newview/llfloatertools.cpp')
-rw-r--r--indra/newview/llfloatertools.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp
index 224bd4650f..b708a4261f 100644
--- a/indra/newview/llfloatertools.cpp
+++ b/indra/newview/llfloatertools.cpp
@@ -196,7 +196,7 @@ BOOL LLFloaterTools::postBuild()
mRadioSelectFace = LLUICtrlFactory::getCheckBoxByName(this,"radio select face");
childSetCommitCallback("radio select face",commit_select_tool,gToolFace);
mCheckSelectIndividual = LLUICtrlFactory::getCheckBoxByName(this,"checkbox edit linked parts");
- childSetValue("checkbox edit linked parts",(BOOL)!gSavedSettings.getBOOL("SelectLinkedSet"));
+ childSetValue("checkbox edit linked parts",(BOOL)gSavedSettings.getBOOL("EditLinkedParts"));
childSetCommitCallback("checkbox edit linked parts",commit_select_component,this);
mCheckSnapToGrid = LLUICtrlFactory::getCheckBoxByName(this,"checkbox snap to grid");
childSetValue("checkbox snap to grid",(BOOL)gSavedSettings.getBOOL("SnapEnabled"));
@@ -436,7 +436,7 @@ void LLFloaterTools::draw()
mDirty = FALSE;
}
- mCheckSelectIndividual->set(!gSavedSettings.getBOOL("SelectLinkedSet"));
+ // mCheckSelectIndividual->set(gSavedSettings.getBOOL("EditLinkedParts"));
LLFloater::draw();
}
@@ -547,7 +547,7 @@ void LLFloaterTools::updatePopup(LLCoordGL center, MASK mask)
if (mCheckSelectIndividual)
{
mCheckSelectIndividual->setVisible(edit_visible);
- mCheckSelectIndividual->set(!gSavedSettings.getBOOL("SelectLinkedSet"));
+ //mCheckSelectIndividual->set(gSavedSettings.getBOOL("EditLinkedParts"));
}
mRadioPosition ->set( tool == gToolTranslate );
@@ -726,7 +726,7 @@ void LLFloaterTools::onClose(bool app_quitting)
// exit component selection mode
gSelectMgr->promoteSelectionToRoot();
- gSavedSettings.setBOOL("SelectLinkedSet", TRUE);
+ gSavedSettings.setBOOL("EditLinkedParts", FALSE);
gViewerWindow->showCursor();
@@ -902,7 +902,7 @@ void commit_select_component(LLUICtrl *ctrl, void *data)
}
BOOL select_individuals = floaterp->mCheckSelectIndividual->get();
- gSavedSettings.setBOOL("SelectLinkedSet", !select_individuals);
+ gSavedSettings.setBOOL("EditLinkedParts", select_individuals);
floaterp->dirty();
if (select_individuals)