mirror of
https://github.com/blender/blender-addons.git
synced 2025-08-20 13:22:58 +00:00
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:
@ -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")
|
||||
|
Reference in New Issue
Block a user