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 /precision_drawing_tools/pdt_command.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 'precision_drawing_tools/pdt_command.py')
-rw-r--r-- | precision_drawing_tools/pdt_command.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/precision_drawing_tools/pdt_command.py b/precision_drawing_tools/pdt_command.py index 0ae7e820..398adc6c 100644 --- a/precision_drawing_tools/pdt_command.py +++ b/precision_drawing_tools/pdt_command.py @@ -1038,10 +1038,10 @@ def fillet_geometry(context, pg, mode, obj, bm, verts, values): context.window_manager.popup_menu(oops, title="Error", icon="ERROR") return if mode in {"i", "v"}: - vert_bool = True + affect = 'VERTICES' else: # Must be "e" - vert_bool = False + affect = 'EDGES' # Note that passing an empty parameter results in that parameter being seen as "0" # _offset <= 0 is ignored since a bevel/fillet radius must be > 0 to make sense _offset = float(values[0]) @@ -1095,5 +1095,5 @@ def fillet_geometry(context, pg, mode, obj, bm, verts, values): offset=_offset, segments=_segments, profile=_profile, - vertex_only=vert_bool + affect=affect ) |