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:
authorPablo Dobarro <pablodp606@gmail.com>2020-05-12 04:39:10 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-05-19 02:07:38 +0300
commit7c9c8cee7b2c4a964f66c319a3f44ba83d19825d (patch)
treec14a05e3be3344ba6d6716e7a2fe5956c8b98ff9
parent497cd3d7dd6e497be484eb78a8ddb23f53b20343 (diff)
Fix T76397: Missing value property on Clear Mask pie menu
Without this value defined it was reusing the same 1.0 value after using fill mask, so it was not working. Reviewed By: jbakker Maniphest Tasks: T76397 Differential Revision: https://developer.blender.org/D7699
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index fca4cb4c321..b5aae4374e2 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -5282,6 +5282,7 @@ class VIEW3D_MT_sculpt_mask_edit_pie(Menu):
op.mode = 'INVERT'
op = pie.operator("paint.mask_flood_fill", text='Clear Mask')
op.mode = 'VALUE'
+ op.value = 0.0
op = pie.operator("sculpt.mask_filter", text='Smooth Mask')
op.filter_type = 'SMOOTH'
op.auto_iteration_count = True