From 66f182408c79ff432c8d2df40857d4149d0a1167 Mon Sep 17 00:00:00 2001 From: Brendon Murphy Date: Wed, 7 Mar 2012 08:50:00 +0000 Subject: update for speaker object --- system_blend_info.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system_blend_info.py') diff --git a/system_blend_info.py b/system_blend_info.py index 75bcc7ae..d89f12d6 100644 --- a/system_blend_info.py +++ b/system_blend_info.py @@ -126,6 +126,12 @@ class OBJECT_PT_blendinfo(bpy.types.Panel): row.label(text=quantity_string(num, "Empty", "Empties"), icon='EMPTY_DATA') + row = ob_cols[1].row() + empties = [o for o in objects.values() if o.type == 'SPEAKER'] + num = len(empties) + row.label(text=quantity_string(num, "Speaker", "Speakers"), + icon='OUTLINER_OB_SPEAKER') + layout.separator() # DATABLOCKS -- cgit v1.2.3