diff options
author | leyla_linden <none@none> | 2011-01-19 11:38:34 -0800 |
---|---|---|
committer | leyla_linden <none@none> | 2011-01-19 11:38:34 -0800 |
commit | ca1c1eea78ff2ab83979a4308dd5a93ea0032fc8 (patch) | |
tree | ffafba28cf0f0d2cc4e67fae7042e2a318fce1b1 /indra/newview/llfloatertools.cpp | |
parent | b5e67321c3fa1e60e0973547372a5425e9d82efc (diff) |
SH-808 Selectively enable/disable features in edit tools
Diffstat (limited to 'indra/newview/llfloatertools.cpp')
-rw-r--r-- | indra/newview/llfloatertools.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 920bdef7f6..49e24f8e3d 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -463,6 +463,13 @@ void LLFloaterTools::refresh() childSetEnabled("linked_set_cost", have_selection); childSetEnabled("object_cost", have_selection); + bool enable_mesh = gSavedSettings.getBOOL("MeshEnabled"); + + getChildView("linked_set_count")->setVisible(enable_mesh); + getChildView("linked_set_cost")->setVisible(enable_mesh); + getChildView("object_count")->setVisible(enable_mesh); + getChildView("object_cost")->setVisible(enable_mesh); + // Refresh child tabs mPanelPermissions->refresh(); mPanelObject->refresh(); |