Keymap: Vertex Paint: Add ctrl to temporarily swich colors
This now matches Texture Painting This was added in rB7d5fb2e103e03046194d69640aadf7e76a700620 but was lost probably when migrating to python keymap.
This commit is contained in:
parent
d19d0ff99e
commit
bb2abacb4b
@ -3662,7 +3662,10 @@ def km_vertex_paint(params):
|
||||
)
|
||||
|
||||
items.extend([
|
||||
("paint.vertex_paint", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
|
||||
("paint.vertex_paint", {"type": 'LEFTMOUSE', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'NORMAL')]}),
|
||||
("paint.vertex_paint", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
|
||||
{"properties": [("mode", 'INVERT')]}),
|
||||
("paint.brush_colors_flip", {"type": 'X', "value": 'PRESS'}, None),
|
||||
("paint.sample_color", {"type": 'S', "value": 'PRESS'}, None),
|
||||
("paint.vertex_color_set", {"type": 'K', "value": 'PRESS', "shift": True}, None),
|
||||
|
@ -2866,7 +2866,10 @@ def km_vertex_paint(params):
|
||||
)
|
||||
|
||||
items.extend([
|
||||
("paint.vertex_paint", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
|
||||
("paint.vertex_paint", {"type": 'LEFTMOUSE', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'NORMAL')]}),
|
||||
("paint.vertex_paint", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
|
||||
{"properties": [("mode", 'INVERT')]}),
|
||||
("paint.brush_colors_flip", {"type": 'X', "value": 'PRESS'}, None),
|
||||
("brush.scale_size", {"type": 'LEFT_BRACKET', "value": 'PRESS'},
|
||||
{"properties": [("scalar", 0.9)]}),
|
||||
|
Loading…
Reference in New Issue
Block a user