Fix #134898: Grease Pencil: Select Similar doesn't work in stroke mode

Greyed out in UI due to wrong poll function.

Pull Request: https://projects.blender.org/blender/blender/pulls/134899
This commit is contained in:
Pratik Borhade
2025-02-21 10:20:30 +01:00
committed by Pratik Borhade
parent 878e5dc0c5
commit b17ee902c0

View File

@@ -780,7 +780,7 @@ static void GREASE_PENCIL_OT_select_similar(wmOperatorType *ot)
ot->invoke = WM_menu_invoke;
ot->exec = select_similar_exec;
ot->poll = editable_grease_pencil_point_selection_poll;
ot->poll = editable_grease_pencil_poll;
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;