Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-08 12:59:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-08 12:59:47 +0400
commit1a7eb3454eb887d9639c435ac0a6f1bd50c9b2bf (patch)
tree0db1d31cd18bd19da3b6ad5704142b8af114a190 /source/blender/editors/space_info
parenta9f10b6bc2fb55be26ae3a7e8b1467213678a0f6 (diff)
style cleanup
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r--source/blender/editors/space_info/info_stats.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/space_info/info_stats.c b/source/blender/editors/space_info/info_stats.c
index 7870e64228a..4ffa99319c4 100644
--- a/source/blender/editors/space_info/info_stats.c
+++ b/source/blender/editors/space_info/info_stats.c
@@ -70,7 +70,8 @@ typedef struct SceneStats {
static void stats_object(Object *ob, int sel, int totob, SceneStats *stats)
{
switch (ob->type) {
- case OB_MESH: {
+ case OB_MESH:
+ {
/* we assume derivedmesh is already built, this strictly does stats now. */
DerivedMesh *dm = ob->derivedFinal;
int totvert, totedge, totface;
@@ -101,7 +102,8 @@ static void stats_object(Object *ob, int sel, int totob, SceneStats *stats)
break;
case OB_SURF:
case OB_CURVE:
- case OB_FONT: {
+ case OB_FONT:
+ {
int tot = 0, totf = 0;
stats->totcurve += totob;
@@ -121,7 +123,8 @@ static void stats_object(Object *ob, int sel, int totob, SceneStats *stats)
}
break;
}
- case OB_MBALL: {
+ case OB_MBALL:
+ {
int tot = 0, totf = 0;
BKE_displist_count(&ob->disp, &tot, &totf);