Fix Unreported: Missing box mask in sculpt
There was a weird bug in the API where a value of 0 gave a mask value of 1. I am not sure why this is but the current code works as desirable. This was missed in rB6faa765af8954948de3cec75a2261a5aa139b4e5
This commit is contained in:
parent
3d916c0a96
commit
956af16189
|
@ -3365,6 +3365,8 @@ def km_sculpt(params):
|
|||
{"properties": [("mode", 'VALUE'), ("value", 1.0)]}),
|
||||
("paint.mask_flood_fill", {"type": 'I', "value": 'PRESS', "ctrl": True},
|
||||
{"properties": [("mode", 'INVERT')]}),
|
||||
("paint.mask_box_gesture", {"type": 'B', "value": 'PRESS'},
|
||||
{"properties": [("mode", 'VALUE'), ("value", 0.0)]}),
|
||||
("paint.mask_lasso_gesture", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
|
||||
("wm.context_toggle", {"type": 'M', "value": 'PRESS', "ctrl": True},
|
||||
{"properties": [("data_path", 'scene.tool_settings.sculpt.show_mask')]}),
|
||||
|
|
Loading…
Reference in New Issue