changing poll of vertex_add to allow for nurbs #114525

Open
rybread wants to merge 1 commits from rybread/blender:39656-ctrl-click-for-nurbs into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6b5897a3bd - Show all commits

View File

@ -5721,7 +5721,7 @@ void CURVE_OT_vertex_add(wmOperatorType *ot)
/* api callbacks */
ot->exec = add_vertex_exec;
ot->invoke = add_vertex_invoke;
ot->poll = ED_operator_editcurve;
ot->poll = ED_operator_editsurfcurve;
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_DEPENDS_ON_CURSOR;