Skip to content
Snippets Groups Projects
Commit 66f18240 authored by Brendon Murphy's avatar Brendon Murphy
Browse files

update for speaker object

parent df27bb5b
No related branches found
No related tags found
No related merge requests found
...@@ -126,6 +126,12 @@ class OBJECT_PT_blendinfo(bpy.types.Panel): ...@@ -126,6 +126,12 @@ class OBJECT_PT_blendinfo(bpy.types.Panel):
row.label(text=quantity_string(num, "Empty", "Empties"), row.label(text=quantity_string(num, "Empty", "Empties"),
icon='EMPTY_DATA') 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() layout.separator()
# DATABLOCKS # DATABLOCKS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment