diff options
Diffstat (limited to 'source/blender/editors')
-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) |