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-01-13 23:52:07 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-01-14 22:32:22 +0300
commitf4beab71927c91a6ba96920e473b4f806b5333cd (patch)
tree6d72620be2e41cee39d3d0f90c8817be34081cb7 /release
parent22a317347ffbba51628c717ee776a32d3f941ec1 (diff)
Fix T73070: Disable falloff_shape in the Pose Brush
The Falloff property in the pose brush controls how much deformation propagates through the ik chain, not by using the distance to the vertices, so this option does not make sense (it does nothing in the pose brush code and it disables the 3d paint cursor). Reviewed By: jbakker Maniphest Tasks: T73070 Differential Revision: https://developer.blender.org/D6574
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_paint_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index b15a244eefd..93bf5eca052 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -438,7 +438,7 @@ class FalloffPanel(BrushPanel):
row.operator("brush.curve_preset", icon='LINCURVE', text="").shape = 'LINE'
row.operator("brush.curve_preset", icon='NOCURVE', text="").shape = 'MAX'
- if mode in {'SCULPT', 'PAINT_VERTEX', 'PAINT_WEIGHT'}:
+ if mode in {'SCULPT', 'PAINT_VERTEX', 'PAINT_WEIGHT'} and brush.sculpt_tool != 'POSE':
col.separator()
row = col.row(align=True)
row.use_property_split = True