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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user