diff options
author | Hans Goudey <h.goudey@me.com> | 2020-06-09 22:11:14 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-06-09 22:11:14 +0300 |
commit | d3f83d9f95504ad02121228477681db6702e9e11 (patch) | |
tree | 5cc29196fae1f127dbcde69e328238ca74eb9e9e /release/scripts/startup | |
parent | d1932a8ed6001c120149ce4dd1be6a0415d66f28 (diff) |
UI: Remove extra separator in some cases
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index b4c1ea5163f..2c3108e0a11 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -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", |