Add Land Impact to object hover tip
This commit is contained in:
@@ -542,11 +542,16 @@ void LLHoverView::updateText()
|
||||
line.append(LLTrans::getString("TooltipForSaleMsg", args));
|
||||
}
|
||||
mText.push_back(line);
|
||||
|
||||
auto& objects = LLSelectMgr::getInstance()->getHoverObjects();
|
||||
|
||||
line.clear();
|
||||
S32 prim_count = LLSelectMgr::getInstance()->getHoverObjects()->getObjectCount();
|
||||
S32 prim_count = objects->getObjectCount();
|
||||
line.append(llformat("Prims: %d", prim_count));
|
||||
mText.push_back(line);
|
||||
|
||||
mText.push_back(llformat("LI: %.2f", objects->getSelectedLinksetCost()));
|
||||
|
||||
line.clear();
|
||||
line.append("Position: ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user