diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-15 05:35:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-15 06:04:13 +0300 |
commit | af91bbc221fe21f9238172a8e152fe49dcd67d4b (patch) | |
tree | 312e0da262bb51eac8b8587770799d1d6c75686b /release/scripts | |
parent | e74535df0871f27162517821ff3a507084849e03 (diff) |
UI: expand names of collection menu
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_outliner.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py index cc773300d9e..413659735b6 100644 --- a/release/scripts/startup/bl_ui/space_outliner.py +++ b/release/scripts/startup/bl_ui/space_outliner.py @@ -243,10 +243,14 @@ class OUTLINER_MT_collection_new(Menu): bl_label = "Collection" def draw(self, context): + # Note: this menu is used in any context where collections exist, + # as a generic way to add data. The names here are expanded because + # this menu is often expended without it's title. + layout = self.layout - layout.operator("outliner.collection_new", text="New").nested = False - layout.operator("outliner.id_paste", text="Paste", icon='PASTEDOWN') + layout.operator("outliner.collection_new", text="New Collection").nested = False + layout.operator("outliner.id_paste", text="Paste Data-Blocks", icon='PASTEDOWN') layout.separator() |