diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-07-13 09:42:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-07-13 09:42:34 +0300 |
commit | 8a429b03e130cb77378cabd35b2f4a8f8dd3f1d2 (patch) | |
tree | ecb1d779ede36d688f581d1bf0113cd2ca01c93c | |
parent | a855a763c253fd61fce49002307b2c6f14aa50ed (diff) |
Cleanup: style
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 4 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 1 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index ff36d2494ea..a7cfee5ed8f 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -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') diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 939e958375a..806b57e0297 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -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): diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index db5efeb43c2..53e4346550e 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -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", |