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-07-21 23:57:50 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-07-21 23:59:07 +0300
commit878d191baee6b6a7997cf21d980f39ea97a0a33b (patch)
treeb4106e231b219acb884e10006056f18d4a7b3e6d /release/scripts/startup/bl_ui/properties_paint_common.py
parent46b126a2c8402a527cd611b47d04ee7de29a9775 (diff)
Sculpt: Add extra deform types to Slide
This adds extra deform modes to the slide mode of the Topology Slide/Relax brush (both slide and smear are almost identical). This is useful to move topology to a specific area to add more localized details Reviewed By: sergey Differential Revision: https://developer.blender.org/D8349
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index 5044d1be34c..d3ee5757e6e 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -708,6 +708,10 @@ def brush_settings(layout, context, brush, popover=False):
col = layout.column()
col.prop(brush, "smear_deform_type")
+ if brush.sculpt_tool == 'TOPOLOGY':
+ col = layout.column()
+ col.prop(brush, "slide_deform_type")
+
if brush.sculpt_tool == 'MULTIPLANE_SCRAPE':
col = layout.column()
col.prop(brush, "multiplane_scrape_angle")