Sculpt: Add Line Hide tool
commit6e997cc75723b0dfc4d25d8246f373d46a662905
authorSean Kim <SeanCTKim@protonmail.com>
Thu, 28 Mar 2024 23:05:25 +0000 (29 00:05 +0100)
committerHans Goudey <hooglyboogly@noreply.localhost>
Thu, 28 Mar 2024 23:05:25 +0000 (29 00:05 +0100)
tree0f8c64329845092e9c2d09818c2482179705d57b
parentbf04da96f30bd314dec10053c6fdcece117617bc
Sculpt: Add Line Hide tool

This PR adds the *Line Hide* tool and the corresponding
`PAINT_OT_hide_show_line_gesture` operator to Sculpt Mode.

*Line Hide* supports common modal functionality including:
* Snapping to angles
* Flipping the selection area
* Moving selection area

Addresses one of the tools in #80390

Pull Request: https://projects.blender.org/blender/blender/pulls/119671
release/datafiles/assets
release/datafiles/icons/ops.sculpt.line_hide.dat [new file with mode: 0644]
scripts/presets/keyconfig/keymap_data/blender_default.py
scripts/startup/bl_ui/space_toolsystem_toolbar.py
scripts/startup/bl_ui/space_view3d.py
source/blender/editors/datafiles/CMakeLists.txt
source/blender/editors/sculpt_paint/paint_hide.cc
source/blender/editors/sculpt_paint/paint_intern.hh
source/blender/editors/sculpt_paint/paint_ops.cc
source/blender/windowmanager/intern/wm_operators.cc