2.5: Restored statistics in the info header.
[blender.git] / release / ui / space_info.py
index 770387498a26abaa855925e924798bd78659f112..1a3f9a321ac1b58feab46d97fa1ea7c7411b67cd 100644 (file)
@@ -8,7 +8,8 @@ class INFO_HT_header(bpy.types.Header):
                layout = self.layout
                
                st = context.space_data
-               rd = context.scene.render_data
+               scene = context.scene
+               rd = scene.render_data
 
                row = layout.row(align=True)
                row.template_header()
@@ -33,6 +34,8 @@ class INFO_HT_header(bpy.types.Header):
 
                layout.template_operator_search()
                layout.template_running_jobs()
+
+               layout.itemL(text=scene.statistics())
                        
 class INFO_MT_file(bpy.types.Menu):
        __space_type__ = "INFO"