summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-10-21 17:29:05 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-10-21 17:29:05 +0300
commit0149c4caa94777435daa12e59cfbf190332fb535 (patch)
tree523dc3cc4e7909b0a1f24ffe919c2c42d4667d08 /indra/newview
parent183cc7cdfdb56a2a575471e09430c2d7aabb67e9 (diff)
MAINT-6855 Developer > Show Info > Show Render Info is not reporting accurate vertex counts for Selected Objects
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llselectmgr.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 0838c6c824..e07c11b1e3 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -7200,7 +7200,9 @@ U32 LLObjectSelection::getSelectedObjectTriangleCount(S32* vcount)
if (object)
{
- count += object->getTriangleCount(vcount);
+ S32 vt = 0;
+ count += object->getTriangleCount(&vt);
+ *vcount += vt;
}
}