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>2019-09-10 16:11:33 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-09-10 16:13:37 +0300
commit0083c96125926d4e76525ff1bbd08a3f1f20307b (patch)
treecfab87dcde7f9ebd4bdc7a872bea1b86fad1231f /release/scripts/startup
parentef47c99fcb9e4f34e9506903c1eee699ab279b66 (diff)
Sculpt: Mask Expand operator
This operator is a combined version of mask expand and mask by normal from the sculpt branch. It can be used to quickly isolate parts of a model based on topology or curvature. - Shift + A starts the operator in topology mode from the active vertex - Shift + Alt + A starts the operator in curvature mode from the active vertex Reviewed By: brecht Differential Revision: https://developer.blender.org/D5657
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 2333c8589c3..21c2631c904 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2872,6 +2872,20 @@ class VIEW3D_MT_sculpt(Menu):
layout.separator()
+ props = layout.operator("sculpt.mask_expand", text="Expand Mask By Topology")
+ props.use_normals = False
+ props.keep_previous_mask = False
+ props.invert = True
+ props.smooth_iterations = 2
+
+ props = layout.operator("sculpt.mask_expand", text="Expand Mask By Curvature")
+ props.use_normals = True
+ props.keep_previous_mask = True
+ props.invert = False
+ props.smooth_iterations = 0
+
+ layout.separator()
+
props = layout.operator("sculpt.dirty_mask", text='Dirty Mask')