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:
parent
2eb5ee12ce
commit
7ae27d2b01
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue