MAINT-6855 Developer > Show Info > Show Render Info is not reporting accurate vertex counts for Selected Objects

master
Mnikolenko Productengine 2016-10-21 17:29:05 +03:00
parent 183cc7cdfd
commit 0149c4caa9
1 changed files with 3 additions and 1 deletions

View File

@ -7200,7 +7200,9 @@ U32 LLObjectSelection::getSelectedObjectTriangleCount(S32* vcount)
if (object)
{
count += object->getTriangleCount(vcount);
S32 vt = 0;
count += object->getTriangleCount(&vt);
*vcount += vt;
}
}