Fix #110096: Crash Crash on calling curve pen operator #110619

Merged
Hans Goudey merged 1 commits from Caleb-Cleavinger/blender:110096 into main 2023-07-31 14:06:26 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit df169230b1 - Show all commits

View File

@ -1843,7 +1843,7 @@ void CURVE_OT_pen(wmOperatorType *ot)
/* api callbacks */
ot->invoke = curve_pen_invoke;
ot->modal = curve_pen_modal;
ot->poll = ED_operator_view3d_active;
ot->poll = ED_operator_editcurve;
/* flags */
ot->flag = OPTYPE_UNDO;