diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-23 06:03:52 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-23 06:03:52 +0300 |
commit | f510c21650961d579f82352ee40b64bd4ddb7edd (patch) | |
tree | 097c2a028f27fa556d3577aeaec1bce2a34491ea /mesh_tools/__init__.py | |
parent | 01e3264f26394c1d1ea91100b1cc1900134a3c04 (diff) |
Fix T81073: PDT fillet tool not working
The tool still used the "vertex_only" argument to the bevel operator,
which changed in 2.90. This commit also fixes the same error in the
Mesh Tools addon.
Diffstat (limited to 'mesh_tools/__init__.py')
-rw-r--r-- | mesh_tools/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesh_tools/__init__.py b/mesh_tools/__init__.py index f93baea9..ff9a60bd 100644 --- a/mesh_tools/__init__.py +++ b/mesh_tools/__init__.py @@ -885,7 +885,7 @@ class VIEW3D_MT_edit_mesh_tools(Menu): props.quad_method = props.ngon_method = 'BEAUTY' layout.operator("mesh.tris_convert_to_quads") layout.operator('mesh.vertex_chamfer', text="Vertex Chamfer") - layout.operator("mesh.bevel", text="Bevel Vertices").vertex_only = True + layout.operator("mesh.bevel", text="Bevel Vertices").affect = 'VERTICES' layout.operator('mesh.offset_edges', text="Offset Edges") layout.operator('mesh.fillet_plus', text="Fillet Edges") layout.operator("mesh.face_inset_fillet", @@ -930,7 +930,7 @@ class VIEW3D_PT_edit_mesh_tools(Panel): row = col_top.row(align=True) row.operator("mesh.random_vertices", text="Random Vertices") row = col_top.row(align=True) - row.operator("mesh.bevel", text="Bevel Vertices").vertex_only = True + row.operator("mesh.bevel", text="Bevel Vertices").affect = 'VERTICES' # edge - first line split = col.split(factor=0.80, align=True) @@ -956,7 +956,7 @@ class VIEW3D_PT_edit_mesh_tools(Panel): row = col_top.row(align=True) row.operator("mesh.extrude_edges_move", text="Extrude Edges") row = col_top.row(align=True) - row.operator("mesh.bevel", text="Bevel Edges").vertex_only = False + row.operator("mesh.bevel", text="Bevel Edges").affect = 'EDGES' # face - first line split = col.split(factor=0.80, align=True) |