Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendon Murphy <meta.androcto1@gmail.com>2012-03-07 12:50:00 +0400
committerBrendon Murphy <meta.androcto1@gmail.com>2012-03-07 12:50:00 +0400
commit66f182408c79ff432c8d2df40857d4149d0a1167 (patch)
treec5f6ca33460e56edd748cd267d1d5782deac9558 /system_blend_info.py
parentdf27bb5b69cd2b564f9cadba07cc4650fc928d24 (diff)
update for speaker object
Diffstat (limited to 'system_blend_info.py')
-rw-r--r--system_blend_info.py6
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