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
This commit is contained in:
Pablo Dobarro 2020-02-10 21:44:33 +01:00
parent efcfe0ffdf
commit f996aeaf76
Notes: blender-bot 2023-02-14 10:29:30 +01:00
Referenced by issue #73105, Sculpt context menu - Magnify/Pinch hasn't been updated
1 changed files with 4 additions and 1 deletions

View File

@ -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)