Cleanup: Remove modal definition for PAINT_OT_visibility_invert

This PR removes the modal callback for `PAINT_OT_visibility_invert`.
It does not use the provided data, nor is the `modal` function
invoked by a corresponding `invoke`.

Pull Request: https://projects.blender.org/blender/blender/pulls/119930
This commit is contained in:
Sean Kim 2024-03-26 19:43:06 +01:00 committed by Hans Goudey
parent 9ae24fee48
commit 5a1bab39d2
1 changed files with 0 additions and 1 deletions

View File

@ -899,7 +899,6 @@ void PAINT_OT_visibility_invert(wmOperatorType *ot)
ot->idname = "PAINT_OT_visibility_invert";
ot->description = "Invert the visibility of all vertices";
ot->modal = WM_gesture_box_modal;
ot->exec = visibility_invert_exec;
ot->poll = SCULPT_mode_poll_view3d;