diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-16 12:46:55 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-16 12:46:55 +0400 |
commit | 0a9f817d3500461835fc0d41eef0a33028a40461 (patch) | |
tree | bac1a26f8f38ddbcde95acb81c6b93026774d67f /source/blender/editors | |
parent | f91407150a9415b55765abc7ac870c2be2703334 (diff) |
Fix object mode check in stats_update.
Was checking object flag rather than mode.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_info/info_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/info_stats.c b/source/blender/editors/space_info/info_stats.c index 120783db340..e42c19a57de 100644 --- a/source/blender/editors/space_info/info_stats.c +++ b/source/blender/editors/space_info/info_stats.c @@ -335,7 +335,7 @@ static void stats_update(Scene *scene) /* Pose Mode */ stats_object_pose(ob, &stats); } - else if(ob && (ob->flag & OB_MODE_ALL_PAINT)) { + else if(ob && (ob->mode & OB_MODE_ALL_PAINT)) { /* Sculpt and Paint Mode */ stats_object_paint(ob, &stats); } |