diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-17 00:42:29 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-17 00:42:29 +0400 |
commit | fd2ea6b966a87aadeb2fe803f8297c4cf77c7641 (patch) | |
tree | 5645442b89bd41027a2bb4d78f4501a3e2bfbfcc /source/blender/editors/space_info | |
parent | ed44ddd816d3bcd9be2e2097e1087dcdbf9b91e1 (diff) |
Follow up to fix in r44919: use standard stats in paint modes.
Removed the special case for header statistics in sculpt/paint
modes. The information provided was less useful, and less accurate
even because it didn't reflect multires.
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r-- | source/blender/editors/space_info/info_stats.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/editors/space_info/info_stats.c b/source/blender/editors/space_info/info_stats.c index e42c19a57de..ea28057968a 100644 --- a/source/blender/editors/space_info/info_stats.c +++ b/source/blender/editors/space_info/info_stats.c @@ -251,16 +251,6 @@ static void stats_object_pose(Object *ob, SceneStats *stats) } } -static void stats_object_paint(Object *ob, SceneStats *stats) -{ - if(ob->type == OB_MESH) { - Mesh *me= ob->data; - - stats->totface= me->totface; - stats->totvert= me->totvert; - } -} - static void stats_dupli_object(Base *base, Object *ob, SceneStats *stats) { if(base->flag & SELECT) stats->totobjsel++; @@ -335,10 +325,6 @@ static void stats_update(Scene *scene) /* Pose Mode */ stats_object_pose(ob, &stats); } - else if(ob && (ob->mode & OB_MODE_ALL_PAINT)) { - /* Sculpt and Paint Mode */ - stats_object_paint(ob, &stats); - } else { /* Objects */ for(base= scene->base.first; base; base=base->next) |