Silk Aeon wants greater precision on the Object Weights Floater.

This commit is contained in:
Inusaito Sayori
2014-07-30 08:43:12 -04:00
parent c151c12b95
commit f3a48bb0f0

View File

@@ -117,9 +117,9 @@ void LLFloaterObjectWeights::onOpen()
// virtual
void LLFloaterObjectWeights::onWeightsUpdate(const SelectionCost& selection_cost)
{
mSelectedDownloadWeight->setText(llformat("%.1f", selection_cost.mNetworkCost));
mSelectedPhysicsWeight->setText(llformat("%.1f", selection_cost.mPhysicsCost));
mSelectedServerWeight->setText(llformat("%.1f", selection_cost.mSimulationCost));
mSelectedDownloadWeight->setText(llformat("%.2f", selection_cost.mNetworkCost));
mSelectedPhysicsWeight->setText(llformat("%.2f", selection_cost.mPhysicsCost));
mSelectedServerWeight->setText(llformat("%.2f", selection_cost.mSimulationCost));
S32 render_cost = LLSelectMgr::getInstance()->getSelection()->getSelectedObjectRenderCost();
mSelectedDisplayWeight->setText(llformat("%d", render_cost));