Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-10-21 18:40:25 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-10-21 21:51:54 +0300
commit9daf668991b986492c6ec8eccec0a337a8d29340 (patch)
treec841dd474405cd7ee76d1f26957cc77057436333 /release/scripts/startup/bl_ui/space_view3d.py
parentd2f52dccd39ba6fb29c099e35f62559bb28548fa (diff)
Fix T81926: Sculpt: Box Mask operator (from menu and shortcut) does
nothing Caused by rB6faa765af895. Since above commit, we have to use paint.mask_box_gesture instead now. Maniphest Tasks: T81926 Differential Revision: https://developer.blender.org/D9300
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index e566047734a..07ccdfa8416 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -3001,7 +3001,10 @@ class VIEW3D_MT_mask(Menu):
props.mode = 'VALUE'
props.value = 0
- props = layout.operator("view3d.select_box", text="Box Mask")
+ props = layout.operator("paint.mask_box_gesture", text="Box Mask")
+ props.mode = 'VALUE'
+ props.value = 0
+
props = layout.operator("paint.mask_lasso_gesture", text="Lasso Mask")
layout.separator()