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:
authorAntonio Vazquez <blendergit@gmail.com>2021-03-12 21:12:11 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-03-12 21:12:27 +0300
commit5788f608d391f1324a638a36fdf20eee75fbfac7 (patch)
treeaa44cdfbe06d214a6b0f8568f33bb3ad2c80f944
parent476be3746e85b4891189c8d480501905b9400c66 (diff)
GPencil: UI menu cleanup
Remove duplicate words Stroke and Point already in menu header. Reviewed by: @mendio, @filedescriptor
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 4b687945974..19bf0662885 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -5013,7 +5013,7 @@ class VIEW3D_MT_edit_gpencil_stroke(Menu):
layout.menu("GPENCIL_MT_move_to_layer")
layout.menu("VIEW3D_MT_assign_material")
layout.operator("gpencil.set_active_material", text="Set as Active Material")
- layout.operator_menu_enum("gpencil.stroke_arrange", "direction", text="Arrange Strokes")
+ layout.operator_menu_enum("gpencil.stroke_arrange", "direction", text="Arrange")
layout.separator()
@@ -5024,7 +5024,7 @@ class VIEW3D_MT_edit_gpencil_stroke(Menu):
layout.operator("gpencil.stroke_cyclical_set", text="Toggle Cyclic").type = 'TOGGLE'
layout.operator_menu_enum("gpencil.stroke_caps_set", text="Toggle Caps", property="type")
layout.operator("gpencil.stroke_flip", text="Switch Direction")
- layout.prop(settings, "use_scale_thickness")
+ layout.prop(settings, "use_scale_thickness", text="Scale Thickness")
layout.separator()
layout.operator("gpencil.reset_transform_fill", text="Reset Fill Transform")
@@ -5036,15 +5036,15 @@ class VIEW3D_MT_edit_gpencil_point(Menu):
def draw(self, _context):
layout = self.layout
- layout.operator("gpencil.extrude_move", text="Extrude Points")
+ layout.operator("gpencil.extrude_move", text="Extrude")
layout.separator()
- layout.operator("gpencil.stroke_smooth", text="Smooth Points").only_selected = True
+ layout.operator("gpencil.stroke_smooth", text="Smooth").only_selected = True
layout.separator()
- layout.operator("gpencil.stroke_merge", text="Merge Points")
+ layout.operator("gpencil.stroke_merge", text="Merge")
# TODO: add new RIP operator
@@ -7048,12 +7048,12 @@ class VIEW3D_MT_gpencil_edit_context_menu(Menu):
col.separator()
- col.operator("gpencil.extrude_move", text="Extrude Points")
+ col.operator("gpencil.extrude_move", text="Extrude")
col.separator()
# Deform Operators
- col.operator("gpencil.stroke_smooth", text="Smooth Points").only_selected = True
+ col.operator("gpencil.stroke_smooth", text="Smooth").only_selected = True
col.operator("transform.bend", text="Bend")
col.operator("transform.shear", text="Shear")
col.operator("transform.tosphere", text="To Sphere")
@@ -7061,8 +7061,8 @@ class VIEW3D_MT_gpencil_edit_context_menu(Menu):
col.separator()
- col.menu("VIEW3D_MT_mirror", text="Mirror Points")
- col.menu("GPENCIL_MT_snap", text="Snap Points")
+ col.menu("VIEW3D_MT_mirror", text="Mirror")
+ col.menu("GPENCIL_MT_snap", text="Snap")
col.separator()
@@ -7075,15 +7075,15 @@ class VIEW3D_MT_gpencil_edit_context_menu(Menu):
col.separator()
# Removal Operators
- col.operator("gpencil.stroke_merge", text="Merge Points")
+ col.operator("gpencil.stroke_merge", text="Merge")
col.operator("gpencil.stroke_merge_by_distance").use_unselected = False
col.operator("gpencil.stroke_split", text="Split")
col.operator("gpencil.stroke_separate", text="Separate").mode = 'POINT'
col.separator()
- col.operator("gpencil.delete", text="Delete Points").type = 'POINTS'
- col.operator("gpencil.dissolve", text="Dissolve Points").type = 'POINTS'
+ col.operator("gpencil.delete", text="Delete").type = 'POINTS'
+ col.operator("gpencil.dissolve", text="Dissolve").type = 'POINTS'
col.operator("gpencil.dissolve", text="Dissolve Between").type = 'BETWEEN'
col.operator("gpencil.dissolve", text="Dissolve Unselected").type = 'UNSELECT'
@@ -7100,7 +7100,7 @@ class VIEW3D_MT_gpencil_edit_context_menu(Menu):
col.separator()
- col.operator("gpencil.stroke_smooth", text="Smooth Stroke").only_selected = False
+ col.operator("gpencil.stroke_smooth", text="Smooth").only_selected = False
col.operator("transform.transform", text="Shrink/Fatten").mode = 'GPENCIL_SHRINKFATTEN'
col.separator()
@@ -7109,12 +7109,12 @@ class VIEW3D_MT_gpencil_edit_context_menu(Menu):
col.menu("GPENCIL_MT_move_to_layer")
col.menu("VIEW3D_MT_assign_material")
col.operator("gpencil.set_active_material", text="Set as Active Material")
- col.operator_menu_enum("gpencil.stroke_arrange", "direction", text="Arrange Strokes")
+ col.operator_menu_enum("gpencil.stroke_arrange", "direction", text="Arrange")
col.separator()
- col.menu("VIEW3D_MT_mirror", text="Mirror Stroke")
- col.menu("VIEW3D_MT_snap", text="Snap Stroke")
+ col.menu("VIEW3D_MT_mirror", text="Mirror")
+ col.menu("VIEW3D_MT_snap", text="Snap")
col.separator()
@@ -7134,11 +7134,11 @@ class VIEW3D_MT_gpencil_edit_context_menu(Menu):
col.separator()
- col.operator("gpencil.delete", text="Delete Strokes").type = 'STROKES'
+ col.operator("gpencil.delete", text="Delete").type = 'STROKES'
col.separator()
- col.operator("gpencil.reproject", text="Reproject Strokes")
+ col.operator("gpencil.reproject", text="Reproject")
def draw_gpencil_layer_active(context, layout):