Grease Pencil: Add Sample Color operator to Vertex Color Mode

This PR adds the `sample_color` operator to Grease Pencil Vertex Paint
Mode.

Pull Request: https://projects.blender.org/blender/blender/pulls/146951
This commit is contained in:
Casey Bianco-Davis
2025-10-12 01:45:13 +02:00
committed by casey-bianco-davis
parent 152405489d
commit 9496d941fd
3 changed files with 5 additions and 1 deletions

View File

@@ -4331,6 +4331,7 @@ def km_grease_pencil_vertex_paint(params):
{"properties": [("data_path", "scene.tool_settings.use_gpencil_vertex_select_mask_segment")]}),
# Flip primary and secondary color
("paint.brush_colors_flip", {"type": 'X', "value": 'PRESS'}, None),
("paint.sample_color", {"type": 'X', "value": 'PRESS', "shift": True}, {"properties": [("merged", False)]}),
# Edit Lines overlay
("wm.context_toggle", {"type": 'Q', "value": 'PRESS', "shift": True},