[Bf-blender-cvs] [f996aeaf766] master: Fix T73105: Use Magnify instead of Pinch in the brush context menu
Pablo Dobarro
noreply at git.blender.org
Tue Feb 18 16:49:16 CET 2020
Commit: f996aeaf766cf840ec7ed1d8b6878def5014de81
Author: Pablo Dobarro
Date: Mon Feb 10 21:44:33 2020 +0100
Branches: master
https://developer.blender.org/rBf996aeaf766cf840ec7ed1d8b6878def5014de81
Fix T73105: Use Magnify instead of Pinch in the brush context menu
This matches the name in the properties panel for the Blob and Snake
Hook brushes
Reviewed By: brecht
Maniphest Tasks: T73105
Differential Revision: https://developer.blender.org/D6805
===================================================================
M release/scripts/startup/bl_ui/space_view3d.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index abc6cc63828..5ca6bbb20b7 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -6936,7 +6936,10 @@ class VIEW3D_PT_sculpt_context_menu(Panel):
layout.prop(brush, "normal_weight", slider=True)
if capabilities.has_pinch_factor:
- layout.prop(brush, "crease_pinch_factor", slider=True, text="Pinch")
+ text = "Pinch"
+ if brush.sculpt_tool in {'BLOB', 'SNAKE_HOOK'}:
+ text = "Magnify"
+ layout.prop(brush, "crease_pinch_factor", slider=True, text=text)
if capabilities.has_rake_factor:
layout.prop(brush, "rake_factor", slider=True)
More information about the Bf-blender-cvs
mailing list