diff --git a/indra/newview/llfloatertools.cpp b/indra/newview/llfloatertools.cpp index 5f27490cc..e621a2e40 100644 --- a/indra/newview/llfloatertools.cpp +++ b/indra/newview/llfloatertools.cpp @@ -547,6 +547,7 @@ void LLFloaterTools::refresh() std::string value_string; if ((prim_count == 1) && gSavedSettings.getBOOL("EditLinkedParts")) //Selecting a single prim in "Edit Linked" mode, show link number { + link_cost = LLSelectMgr::getInstance()->getSelection()->getSelectedObjectCost(); childSetTextArg("link_num_obj_count", "[DESC]", std::string("Link number:")); LLViewerObject* selected = LLSelectMgr::getInstance()->getSelection()->getFirstObject();