GPv3: Remove OB_MODE_PAINT_GREASE_PENCIL flag #121027

Merged
Falk David merged 2 commits from filedescriptor/blender:gpv3-use-legacy-paint-mode-flag into main 2024-04-25 14:23:58 +02:00

2 Commits

Author SHA1 Message Date
Falk David def84df336 Formatting
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-04-24 16:16:54 +02:00
Falk David 51620b4ccc GPv3: Remove `OB_MODE_PAINT_GREASE_PENCIL`
This reverts adding a new mode and uses the
`OB_MODE_PAINT_GPENCIL_LEGACY` flag instead.

The `GREASE_PENCIL_OT_draw_mode_toggle` operator
is removed. The `GPENCIL_OT_paintmode_toggle` is adapted to work with GPv3.
2024-04-24 16:16:26 +02:00