diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-06 20:59:17 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-07-06 20:59:17 +0300 |
commit | 6aa8e130eff59059886e203ff95221609f63b222 (patch) | |
tree | fe478c4920c5b2f602349eb2c216d2b653b5176b /system_blend_info.py | |
parent | 7216192171a35c56523f9abcb279eb8a0a33577b (diff) |
Update for renaming lamp to light.
Diffstat (limited to 'system_blend_info.py')
-rw-r--r-- | system_blend_info.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system_blend_info.py b/system_blend_info.py index 8b2a0939..65b1d9f9 100644 --- a/system_blend_info.py +++ b/system_blend_info.py @@ -102,10 +102,10 @@ class OBJECT_PT_blendinfo(bpy.types.Panel): icon='CAMERA_DATA') row = ob_cols[1].row() - lamps = [o for o in objects.values() if o.type == 'LAMP'] + lamps = [o for o in objects.values() if o.type == 'LIGHT'] num = len(lamps) row.label(text=quantity_string(num, "Lamp", "Lamps"), - icon='LAMP_DATA') + icon='LIGHT_DATA') row = ob_cols[0].row() armatures = [o for o in objects.values() if o.type == 'ARMATURE'] @@ -159,9 +159,9 @@ class OBJECT_PT_blendinfo(bpy.types.Panel): icon='CAMERA_DATA') row = db_cols[1].row() - num = len(bpy.data.lamps) + num = len(bpy.data.lights) row.label(text=quantity_string(num, "Lamp", "Lamps"), - icon='LAMP_DATA') + icon='LIGHT_DATA') row = db_cols[0].row() num = len(bpy.data.armatures) |