Cleanup: pep8 (indentation, spacing, long lines)
This commit is contained in:
@@ -549,8 +549,8 @@ def brush_settings(layout, context, brush, popover=False):
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(brush, "hardness", slider=True)
|
||||
row.prop(brush, "invert_hardness_pressure", text = "")
|
||||
row.prop(brush, "use_hardness_pressure", text = "")
|
||||
row.prop(brush, "invert_hardness_pressure", text="")
|
||||
row.prop(brush, "use_hardness_pressure", text="")
|
||||
|
||||
# auto_smooth_factor and use_inverse_smooth_pressure
|
||||
if capabilities.has_auto_smooth:
|
||||
@@ -648,9 +648,9 @@ def brush_settings(layout, context, brush, popover=False):
|
||||
layout.prop(brush, "pose_offset")
|
||||
layout.prop(brush, "pose_smooth_iterations")
|
||||
if brush.pose_deform_type == 'ROTATE_TWIST' and brush.pose_origin_type in {'TOPOLOGY', 'FACE_SETS'}:
|
||||
layout.prop(brush, "pose_ik_segments")
|
||||
layout.prop(brush, "pose_ik_segments")
|
||||
if brush.pose_deform_type == 'SCALE_TRANSLATE':
|
||||
layout.prop(brush, "use_pose_lock_rotation")
|
||||
layout.prop(brush, "use_pose_lock_rotation")
|
||||
layout.prop(brush, "use_pose_ik_anchored")
|
||||
layout.prop(brush, "use_connected_only")
|
||||
layout.prop(brush, "disconnected_distance_max")
|
||||
@@ -698,23 +698,23 @@ def brush_settings(layout, context, brush, popover=False):
|
||||
elif sculpt_tool == 'PAINT':
|
||||
row = layout.row(align=True)
|
||||
row.prop(brush, "flow")
|
||||
row.prop(brush, "invert_flow_pressure", text = "")
|
||||
row.prop(brush, "use_flow_pressure", text= "")
|
||||
row.prop(brush, "invert_flow_pressure", text="")
|
||||
row.prop(brush, "use_flow_pressure", text="")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(brush, "wet_mix")
|
||||
row.prop(brush, "invert_wet_mix_pressure", text = "")
|
||||
row.prop(brush, "use_wet_mix_pressure", text = "")
|
||||
row.prop(brush, "invert_wet_mix_pressure", text="")
|
||||
row.prop(brush, "use_wet_mix_pressure", text="")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(brush, "wet_persistence")
|
||||
row.prop(brush, "invert_wet_persistence_pressure", text ="")
|
||||
row.prop(brush, "use_wet_persistence_pressure", text= "")
|
||||
row.prop(brush, "invert_wet_persistence_pressure", text="")
|
||||
row.prop(brush, "use_wet_persistence_pressure", text="")
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(brush, "density")
|
||||
row.prop(brush, "invert_density_pressure", text = "")
|
||||
row.prop(brush, "use_density_pressure", text = "")
|
||||
row.prop(brush, "invert_density_pressure", text="")
|
||||
row.prop(brush, "use_density_pressure", text="")
|
||||
|
||||
row = layout.row()
|
||||
row.prop(brush, "tip_roundness")
|
||||
@@ -1218,7 +1218,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
|
||||
if gp_settings.use_pressure and context.area.type == 'PROPERTIES':
|
||||
col = layout.column()
|
||||
col.template_curve_mapping(gp_settings, "curve_sensitivity", brush=True,
|
||||
use_negative_slope=True)
|
||||
use_negative_slope=True)
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(gp_settings, "pen_strength", slider=True)
|
||||
@@ -1227,7 +1227,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
|
||||
if gp_settings.use_strength_pressure and context.area.type == 'PROPERTIES':
|
||||
col = layout.column()
|
||||
col.template_curve_mapping(gp_settings, "curve_strength", brush=True,
|
||||
use_negative_slope=True)
|
||||
use_negative_slope=True)
|
||||
|
||||
if brush.gpencil_tool == 'TINT':
|
||||
row = layout.row(align=True)
|
||||
|
Reference in New Issue
Block a user