[Bf-blender-cvs] [956af161893] blender-v2.91-release: Fix Unreported: Missing box mask in sculpt
Aaron Carlisle
noreply at git.blender.org
Thu Oct 22 23:28:11 CEST 2020
Commit: 956af161893f70198bd89d5ab338a24a011d30c2
Author: Aaron Carlisle
Date: Thu Oct 22 16:57:56 2020 -0400
Branches: blender-v2.91-release
https://developer.blender.org/rB956af161893f70198bd89d5ab338a24a011d30c2
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
===================================================================
M release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
===================================================================
diff --git a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
index a3a5c853b29..e4ff0177ceb 100644
--- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
+++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py
@@ -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')]}),
More information about the Bf-blender-cvs
mailing list