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.
This commit is contained in:
Alan Odom 2020-01-14 11:40:00 +00:00 committed by Rune Morling
parent 2eb5ee12ce
commit 7ae27d2b01
1 changed files with 1 additions and 1 deletions

View File

@ -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")