[Bf-blender-cvs] [0927e7b8355] master: Sculpt: Rename pinch to magnify in some brushes

Pablo Dobarro noreply at git.blender.org
Tue Sep 17 14:55:06 CEST 2019


Commit: 0927e7b83558af51673ab1ed97279ce8c9b13632
Author: Pablo Dobarro
Date:   Mon Sep 16 17:09:01 2019 +0200
Branches: master
https://developer.blender.org/rB0927e7b83558af51673ab1ed97279ce8c9b13632

Sculpt: Rename pinch to magnify in some brushes

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D5815

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index fc3749d3d3c..e30a6caa231 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -456,7 +456,10 @@ class VIEW3D_PT_tools_brush(Panel, View3DPaintPanel):
             # crease_pinch_factor
             if capabilities.has_pinch_factor:
                 row = col.row(align=True)
-                row.prop(brush, "crease_pinch_factor", slider=True, text="Pinch")
+                if (brush.sculpt_tool in ('BLOB', 'SNAKE_HOOK')):
+                    row.prop(brush, "crease_pinch_factor", slider=True, text="Magnify")
+                else:
+                    row.prop(brush, "crease_pinch_factor", slider=True, text="Pinch")
 
             # rake_factor
             if capabilities.has_rake_factor:



More information about the Bf-blender-cvs mailing list