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:
committed by
casey-bianco-davis
parent
152405489d
commit
9496d941fd
@@ -483,7 +483,8 @@ static wmOperatorStatus sample_color_modal(bContext *C, wmOperator *op, const wm
|
||||
static bool sample_color_poll(bContext *C)
|
||||
{
|
||||
return (image_paint_poll_ignore_tool(C) || vertex_paint_poll_ignore_tool(C) ||
|
||||
blender::ed::greasepencil::grease_pencil_painting_poll(C));
|
||||
blender::ed::greasepencil::grease_pencil_painting_poll(C) ||
|
||||
blender::ed::greasepencil::grease_pencil_vertex_painting_poll(C));
|
||||
}
|
||||
|
||||
void PAINT_OT_sample_color(wmOperatorType *ot)
|
||||
|
||||
Reference in New Issue
Block a user