Index: source/blender/editors/space_info/info_stats.c =================================================================== --- source/blender/editors/space_info/info_stats.c (revision 45492) +++ source/blender/editors/space_info/info_stats.c (working copy) @@ -61,7 +61,7 @@ int totface, totfacesel; int totbone, totbonesel; int totobj, totobjsel; - int totmesh, totlamp, totcurve; + int tottri, totmesh, totlamp, totcurve; char infostr[512]; } SceneStats; @@ -150,6 +150,9 @@ stats->totface = em->bm->totface; stats->totfacesel = em->bm->totfacesel; + + stats->tottri = em->tottri; + } else if (obedit->type == OB_ARMATURE) { /* Armature Edit */ @@ -363,30 +366,24 @@ s += sprintf(s, "(Key) "); if (scene->obedit->type == OB_MESH) { - if (scene->toolsettings->selectmode & SCE_SELECT_VERTEX) - s += sprintf(s, "Ve:%d-%d | Ed:%d-%d | Fa:%d-%d", - stats->totvertsel, stats->totvert, stats->totedgesel, stats->totedge, stats->totfacesel, stats->totface); - else if (scene->toolsettings->selectmode & SCE_SELECT_EDGE) - s += sprintf(s, "Ed:%d-%d | Fa:%d-%d", - stats->totedgesel, stats->totedge, stats->totfacesel, stats->totface); - else - s += sprintf(s, "Fa:%d-%d", stats->totfacesel, stats->totface); + s += sprintf(s, "Verts:%d/%d | Edges:%d/%d | Faces:%d/%d | Tris:%d", + stats->totvertsel, stats->totvert, stats->totedgesel, stats->totedge, stats->totfacesel, stats->totface, stats->tottri); } else if (scene->obedit->type == OB_ARMATURE) { - s += sprintf(s, "Ve:%d-%d | Bo:%d-%d", stats->totvertsel, stats->totvert, stats->totbonesel, stats->totbone); + s += sprintf(s, "Verts:%d/%d | Bones:%d/%d", stats->totvertsel, stats->totvert, stats->totbonesel, stats->totbone); } else { - s += sprintf(s, "Ve:%d-%d", stats->totvertsel, stats->totvert); + s += sprintf(s, "Verts:%d/%d", stats->totvertsel, stats->totvert); } strcat(s, memstr); } else if (ob && (ob->mode & OB_MODE_POSE)) { - s += sprintf(s, "Bo:%d-%d %s", + s += sprintf(s, "Bones:%d/%d %s", stats->totbonesel, stats->totbone, memstr); } else { - s += sprintf(s, "Ve:%d | Fa:%d | Ob:%d-%d | La:%d%s", + s += sprintf(s, "Verts:%d | Faces:%d | Objects:%d/%d | Lamps:%d%s", stats->totvert, stats->totface, stats->totobjsel, stats->totobj, stats->totlamp, memstr); }