Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-07-21 23:47:58 +0300
committerHans Goudey <h.goudey@me.com>2020-07-21 23:47:58 +0300
commit46b126a2c8402a527cd611b47d04ee7de29a9775 (patch)
tree8b99940e9a5e24838cd5f110eb059fc5d1fc10ab /release/scripts
parent69afdf69702c8f1d4d43f7369a94bb36a4a349f2 (diff)
UI: Small changes to bevel active tool layout
- Exposes affect enum in the header instead of profile type. - Add two missing options from the operator
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py28
1 files changed, 15 insertions, 13 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index 2b35eb15cdc..818130976d3 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -751,15 +751,15 @@ class _defs_edit_mesh:
layout.prop(props, "offset_type", text="")
else:
layout.row().prop(props, "affect", expand=True)
-
+ layout.separator()
layout.prop(props, "offset_type")
layout.prop(props, "segments")
- row = layout.row()
- row.prop(props, "profile_type", text="" if region_is_header else None)
- if props.profile_type == 'SUPERELLIPSE':
- layout.prop(props, "profile", text="Shape", slider=True)
+ if region_is_header:
+ layout.prop(props, "affect", text="")
+
+ layout.prop(props, "profile", text="Shape", slider=True)
if region_is_header:
layout.popover("TOPBAR_PT_tool_settings_extra", text="...")
@@ -770,14 +770,6 @@ class _defs_edit_mesh:
layout.use_property_split = True
layout.use_property_decorate = False
- if region_is_header:
- layout.row().prop(props, "affect", expand=True)
-
- if props.profile_type == 'CUSTOM':
- col = layout.column()
- col.active = edge_bevel
- col.prop(props, "profile", text="Miter Shape", slider=True)
-
layout.prop(props, "material")
col = layout.column()
@@ -798,6 +790,16 @@ class _defs_edit_mesh:
if props.miter_inner == 'ARC':
col.prop(props, "spread")
+ layout.separator()
+
+ col = layout.column()
+ col.active = edge_bevel
+ col.prop(props, "vmesh_method", text="Intersections")
+
+ layout.prop(props, "face_strength_mode", text="Face Strength")
+
+ layout.prop(props, "profile_type")
+
if props.profile_type == 'CUSTOM':
tool_settings = context.tool_settings
layout.template_curveprofile(tool_settings, "custom_bevel_profile_preset")