GPv3: Draw tool set caps types

Adds functionally to sets the cap type of the drawn stroke.

Pull Request: https://projects.blender.org/blender/blender/pulls/118950
This commit is contained in:
Casey Bianco-Davis
2024-03-01 10:45:02 +01:00
committed by Falk David
parent 68c12fe0ec
commit bf6f9ea2da
2 changed files with 13 additions and 6 deletions

View File

@@ -1444,8 +1444,6 @@ def brush_basic_grease_pencil_paint_settings(layout, context, brush, *, compact=
row.prop(gp_settings, "caps_type", text="", expand=True)
else:
row.prop(gp_settings, "caps_type", text="Caps Type")
# TODO: Remove this when caps work.
row.enabled = False
elif grease_pencil_tool == 'ERASE':
layout.prop(gp_settings, "eraser_mode", expand=True)
if gp_settings.eraser_mode == "HARD":