Cleanup: excess blank lines and parenthesis

This commit is contained in:
Campbell Barton 2020-05-21 16:17:44 +10:00
parent f66bfb5a86
commit fcfb87def9
6 changed files with 3 additions and 9 deletions

View File

@ -1346,7 +1346,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
if md.mode == 'VOXEL':
layout.prop(md, "voxel_size")
layout.prop(md, "adaptivity")
else:
else:
row.prop(md, "octree_depth")
row.prop(md, "scale")

View File

@ -813,7 +813,7 @@ def brush_settings_advanced(layout, context, brush, popover=False):
# face masks automasking
layout.prop(brush, "use_automasking_face_sets")
# boundary edges/face sets automasking
layout.prop(brush, "use_automasking_boundary_edges")
layout.prop(brush, "use_automasking_boundary_face_sets")

View File

@ -563,7 +563,6 @@ class RENDER_PT_gpencil(RenderButtonsPanel, Panel):
col.prop(props, "antialias_threshold")
class RENDER_PT_opengl_sampling(RenderButtonsPanel, Panel):
bl_label = "Sampling"
COMPAT_ENGINES = {'BLENDER_WORKBENCH'}

View File

@ -1102,7 +1102,7 @@ class PreferenceThemeSpacePanel:
PreferenceThemeSpacePanel._theme_generic(layout, data, self.theme_area)
class ThemeGenericClassGenerator():
class ThemeGenericClassGenerator:
@staticmethod
def generate_panel_classes_for_wcols():

View File

@ -3185,7 +3185,6 @@ class VIEW3D_MT_face_sets_init(Menu):
op.mode = 'FACE_MAPS'
class VIEW3D_MT_particle(Menu):
bl_label = "Particle"

View File

@ -844,10 +844,6 @@ class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
col.prop(sculpt, "use_smooth_shading")
class VIEW3D_PT_sculpt_voxel_remesh(Panel, View3DPaintPanel):
bl_context = ".sculpt_mode" # dot on purpose (access from topbar)
bl_label = "Remesh"