GPv3: Change poll function of select alternate operator

This operator is only supported in point selection mode.
This commit is contained in:
Pratik Borhade
2023-06-24 17:58:53 +05:30
parent c9e6399fe1
commit 51a5be8913

View File

@@ -222,7 +222,7 @@ static void GREASE_PENCIL_OT_select_alternate(wmOperatorType *ot)
ot->description = "Select alternated points in strokes with already selected points";
ot->exec = select_alternate_exec;
ot->poll = editable_grease_pencil_poll;
ot->poll = editable_grease_pencil_point_selection_poll;
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;