diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 85bbb0bb13..cd7ff22bb7 100755 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -674,9 +674,16 @@ void LLFloaterTools::refresh() getChild("selection_count")->setText(selection_info.str()); bool have_selection = !LLSelectMgr::getInstance()->getSelection()->isEmpty(); - childSetVisible("selection_count", have_selection); - childSetVisible("remaining_capacity", have_selection); - childSetVisible("selection_empty", !have_selection); + // FIRE-13838 / VWR-29517: Text and link from other tools is presented in Land tool from Build floater + //childSetVisible("selection_count", have_selection); + //childSetVisible("remaining_capacity", have_selection); + //childSetVisible("selection_empty", !have_selection); + LLTool *tool = LLToolMgr::getInstance()->getCurrentTool(); + bool land_visible = (tool == LLToolBrushLand::getInstance() || tool == LLToolSelectLand::getInstance() ); + childSetVisible("selection_count", !land_visible && have_selection); + childSetVisible("remaining_capacity", !land_visible && have_selection); + childSetVisible("selection_empty", !land_visible && !have_selection); + // } // disable the object and prim counts if nothing selected