diff options
author | Pablo Vazquez <pablo@blender.org> | 2020-09-08 17:30:09 +0300 |
---|---|---|
committer | Pablo Vazquez <pablo@blender.org> | 2020-09-08 17:30:29 +0300 |
commit | 8f4f9275cea6602e74eecf7e9a88c101f9cc5245 (patch) | |
tree | 9f28e3d0d10c5d0f28227802d09f0c4d5e468694 /release | |
parent | 9421d66a1b74f18b1eadbfdff4d8bfc08bd19913 (diff) |
UI: Aesthetic tweaks to Select All by Type operator
* Match menu items with Add Menu (order and naming e.g. Font -> Text)
* Use Icons
* Remove ellipsis from the name (policy is to use `...` only when triggering a window/popup)
No functional changes.
Thanks @HooglyBoogly for the help!
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 | ||||
-rw-r--r-- | release/scripts/templates_py/ui_menu.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 35b27940687..528eba06db1 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1369,7 +1369,7 @@ class VIEW3D_MT_select_object(Menu): layout.separator() - layout.operator_menu_enum("object.select_by_type", "type", text="Select All by Type...") + layout.operator_menu_enum("object.select_by_type", "type", text="Select All by Type") layout.operator("object.select_camera", text="Select Active Camera") layout.operator("object.select_mirror", text="Mirror Selection") layout.operator("object.select_random", text="Select Random") diff --git a/release/scripts/templates_py/ui_menu.py b/release/scripts/templates_py/ui_menu.py index 36391a54f4e..7c19693485e 100644 --- a/release/scripts/templates_py/ui_menu.py +++ b/release/scripts/templates_py/ui_menu.py @@ -18,7 +18,7 @@ class CustomMenu(bpy.types.Menu): # use an operator enum property to populate a sub-menu layout.operator_menu_enum("object.select_by_type", property="type", - text="Select All by Type...", + text="Select All by Type", ) # call another menu |