Cleanup: style

This commit is contained in:
Campbell Barton 2018-07-13 08:42:34 +02:00
parent a855a763c2
commit 8a429b03e1
3 changed files with 4 additions and 3 deletions

View File

@ -739,7 +739,7 @@ class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
sub = row.row(align=True)
sub.prop(props, "gi_cubemap_draw_size", text="Size")
if props.gi_show_cubemaps :
if props.gi_show_cubemaps:
sub.prop(props, "gi_show_cubemaps", text="", toggle=True, icon='HIDE_OFF')
else:
sub.prop(props, "gi_show_cubemaps", text="", toggle=True, icon='HIDE_ON')
@ -750,7 +750,7 @@ class RENDER_PT_eevee_indirect_lighting(RenderButtonsPanel, Panel):
sub = row.row(align=True)
sub.prop(props, "gi_irradiance_draw_size", text="Size")
if props.gi_show_irradiance :
if props.gi_show_irradiance:
sub.prop(props, "gi_show_irradiance", text="", toggle=True, icon='HIDE_OFF')
else:
sub.prop(props, "gi_show_irradiance", text="", toggle=True, icon='HIDE_ON')

View File

@ -1473,7 +1473,6 @@ class USERPREF_PT_addons(Panel):
sub.active = is_enabled
sub.label(text="%s: %s" % (info["category"], info["name"]))
# WARNING: 2.8x exception, may be removed
# use disabled state for old add-ons, chances are they are broken.
if info.get("blender", (0,)) < (2, 80):

View File

@ -3710,12 +3710,14 @@ class VIEW3D_PT_object_type_visibility(Panel):
col = layout.column()
attr_object_types = (
# Geometry
"mesh",
"curve",
"surf",
"meta",
"font",
None,
# Other
"armature",
"lattice",
"empty",