UI: Remove extra separator in some cases

This commit is contained in:
Hans Goudey 2020-06-09 15:11:14 -04:00
parent d1932a8ed6
commit d3f83d9f95
1 changed files with 2 additions and 3 deletions

View File

@ -1021,7 +1021,6 @@ class _defs_edit_curve:
sub.prop(cps, "corner_angle", text="")
layout.separator()
col = layout.column(align=True)
col.prop(cps, "radius_taper_start", text="Taper Start", slider=True)
col.prop(cps, "radius_taper_end", text="End", slider=True)
@ -1030,7 +1029,8 @@ class _defs_edit_curve:
col.prop(cps, "radius_max", text="Max")
col.prop(cps, "use_pressure_radius")
layout.separator()
if region_type != 'TOOL_HEADER' or cps.depth_mode == 'SURFACE':
layout.separator()
if region_type != 'TOOL_HEADER':
row = layout.row()
@ -1044,7 +1044,6 @@ class _defs_edit_curve:
colsub = layout.column(align=True)
colsub.prop(cps, "surface_plane")
return dict(
idname="builtin.draw",
label="Draw",