diff options
author | Brendon Murphy <meta.androcto1@gmail.com> | 2012-03-07 12:50:00 +0400 |
---|---|---|
committer | Brendon Murphy <meta.androcto1@gmail.com> | 2012-03-07 12:50:00 +0400 |
commit | 66f182408c79ff432c8d2df40857d4149d0a1167 (patch) | |
tree | c5f6ca33460e56edd748cd267d1d5782deac9558 /system_blend_info.py | |
parent | df27bb5b69cd2b564f9cadba07cc4650fc928d24 (diff) |
update for speaker object
Diffstat (limited to 'system_blend_info.py')
-rw-r--r-- | system_blend_info.py | 6 |
1 files changed, 6 insertions, 0 deletions
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 |