[Bf-blender-cvs] [f4beab71927] blender-v2.82-release: Fix T73070: Disable falloff_shape in the Pose Brush

Pablo Dobarro noreply at git.blender.org
Tue Jan 14 20:27:58 CET 2020


Commit: f4beab71927c91a6ba96920e473b4f806b5333cd
Author: Pablo Dobarro
Date:   Mon Jan 13 21:52:07 2020 +0100
Branches: blender-v2.82-release
https://developer.blender.org/rBf4beab71927c91a6ba96920e473b4f806b5333cd

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

===================================================================

M	release/scripts/startup/bl_ui/properties_paint_common.py

===================================================================

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



More information about the Bf-blender-cvs mailing list