summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-12-09 23:46:15 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-12-10 00:53:56 +0200
commitc85eadfd436fc44a45dd46f31adf823323c4dc3d (patch)
tree4d03e9fc3607219f0d88b882a205dd8476fa4c19 /indra
parentb83c5fab496daf7ee8ca282d55b4b59008a70b1e (diff)
#5125 Negative pixel area in object's info
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterobjectweights.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterobjectweights.cpp b/indra/newview/llfloaterobjectweights.cpp
index fa491a4b27..bd8530abd7 100644
--- a/indra/newview/llfloaterobjectweights.cpp
+++ b/indra/newview/llfloaterobjectweights.cpp
@@ -208,7 +208,7 @@ void LLFloaterObjectWeights::draw()
toggleRenderLoadingIndicators(false);
}
mTrianglesShown->setText(llformat("%d", total_tris));
- mPixelArea->setText(llformat("%d", pixel_area));
+ mPixelArea->setText(llformat("%ld", (S64)pixel_area)); // value capped at 10M
}
LLFloater::draw();
}