diff options
author | Alan Odom <clockmender@icloud.com> | 2020-01-14 14:40:00 +0300 |
---|---|---|
committer | Rune Morling <ermo.blender.org@spammesenseless.net> | 2020-01-15 00:32:04 +0300 |
commit | 7ae27d2b019c1320bdda28c319036236a15520b5 (patch) | |
tree | a29896bf4f3bb34c21387cc53451ad5c44a4a1a0 /precision_drawing_tools | |
parent | 2eb5ee12cef8cc8500042c46905c64f4d12575cf (diff) |
PDT: Fix bug in Command Line: New Vertex
Commands like ni20,45 did not work because there were 2 mode == "d" clauses.
Replace one mode == "d" clause with a mode == "i" clause.
Diffstat (limited to 'precision_drawing_tools')
-rw-r--r-- | precision_drawing_tools/pdt_command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/precision_drawing_tools/pdt_command.py b/precision_drawing_tools/pdt_command.py index 2b215fb1..6b433fcc 100644 --- a/precision_drawing_tools/pdt_command.py +++ b/precision_drawing_tools/pdt_command.py @@ -494,7 +494,7 @@ def command_run(self, context): bmesh.update_edit_mesh(obj.data) bm.select_history.clear() # Direction/Polar Coordinates - elif mode == "d": + elif mode == "i": if len(vals) != 2: pg.error = PDT_ERR_BAD2VALS context.window_manager.popup_menu(oops, title="Error", icon="ERROR") |