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-02-10 23:44:33 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-02-18 18:53:57 +0300
commitf996aeaf766cf840ec7ed1d8b6878def5014de81 (patch)
treec0970db05d90cb276e650ec8a660e407c3f4e045 /release
parentefcfe0ffdfac45f56f1da5e74c9954f9c3db47a4 (diff)
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
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py5
1 files changed, 4 insertions, 1 deletions
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)