diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2018-10-06 15:56:49 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2018-10-06 16:11:24 +0300 |
commit | 7d5fb2e103e03046194d69640aadf7e76a700620 (patch) | |
tree | 34d4ee18defd325500f0af6bb3e8849c0a17890e /source/blender/editors/sculpt_paint/paint_intern.h | |
parent | 495a7128cb230a26bc72cb735e33be5324bf3baa (diff) |
Vertex Paint: support switching to secondary color temporarily holding Ctrl
while it is possible to permanently flip the colors using the 'X' button, this makes it consistent with Texture Paint.
fixes T56994
Reviewers: campbellbarton, brecht
Reviewed By: brecht
Subscribers: JulienKaspar
Tags: #sculpting_and_painting
Maniphest Tasks: T56994
Differential Revision: https://developer.blender.org/D3753
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_intern.h b/source/blender/editors/sculpt_paint/paint_intern.h index c74dc252d0c..2f0b1ebd98f 100644 --- a/source/blender/editors/sculpt_paint/paint_intern.h +++ b/source/blender/editors/sculpt_paint/paint_intern.h @@ -120,7 +120,7 @@ void PAINT_OT_weight_gradient(struct wmOperatorType *ot); void PAINT_OT_vertex_paint_toggle(struct wmOperatorType *ot); void PAINT_OT_vertex_paint(struct wmOperatorType *ot); -unsigned int vpaint_get_current_col(struct Scene *scene, struct VPaint *vp); +unsigned int vpaint_get_current_col(struct Scene *scene, struct VPaint *vp, bool secondary); /* paint_vertex_color_utils.c */ unsigned int ED_vpaint_blend_tool( |